Do not offer full screen view modes as option for collection default view mode, as this would break navigation.

This commit is contained in:
Mateus Machado Luna 2019-11-05 09:21:58 -03:00
parent 3d31e61300
commit d8ab29e320
1 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@
</b-dropdown>
</div>
</div>
<!-- Default View Mode -------------------------------- -->
<b-field
v-if="form.enabled_view_modes.length > 0"
@ -250,7 +250,7 @@
@focus="clearErrors('default_view_mode')">
<option
v-for="(viewMode, index) of form.enabled_view_modes"
v-if="registeredViewModes[viewMode] != undefined"
v-if="registeredViewModes[viewMode] != undefined && registeredViewModes[viewMode].full_screen != true"
:key="index"
:value="viewMode">{{ registeredViewModes[viewMode].label }}
</option>