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

@ -250,7 +250,7 @@
@focus="clearErrors('default_view_mode')"> @focus="clearErrors('default_view_mode')">
<option <option
v-for="(viewMode, index) of form.enabled_view_modes" 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" :key="index"
:value="viewMode">{{ registeredViewModes[viewMode].label }} :value="viewMode">{{ registeredViewModes[viewMode].label }}
</option> </option>