Skip to content

Commit

Permalink
[#28] Fxied issue with view_mode and undefined options.
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Jan 22, 2021
1 parent fa00d33 commit acafa4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DruxtView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export default {
if (!this.display.display_options.row.type.includes('entity:')) return false
return this.display.display_options.row.options.view_mode
return (this.display.display_options.row.options || {}).view_mode || 'default'
},
},
Expand Down

0 comments on commit acafa4f

Please sign in to comment.