Frontend: Show fullscreen toggle in experimental mode only
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
0d5c7bd608
commit
0f7b598806
2 changed files with 4 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
|||
</v-btn>
|
||||
|
||||
<v-btn icon @click.stop="toggleFullScreen()"
|
||||
class="hidden-xs-only">
|
||||
class="hidden-xs-only" v-if="experimental">
|
||||
<v-icon v-if="isFullScreen">fullscreen_exit</v-icon>
|
||||
<v-icon v-else>fullscreen</v-icon>
|
||||
</v-btn>
|
||||
|
@ -147,6 +147,7 @@
|
|||
const configValues = this.$config.values;
|
||||
|
||||
return {
|
||||
experimental: this.$config.get("experimental"),
|
||||
isFullScreen: !!document.fullscreenElement,
|
||||
categories: configValues.albumCategories ? configValues.albumCategories : [],
|
||||
searchExpanded: false,
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</v-btn>
|
||||
|
||||
<v-btn icon @click.stop="toggleFullScreen()"
|
||||
class="hidden-xs-only">
|
||||
class="hidden-xs-only" v-if="experimental">
|
||||
<v-icon v-if="isFullScreen">fullscreen_exit</v-icon>
|
||||
<v-icon v-else>fullscreen</v-icon>
|
||||
</v-btn>
|
||||
|
@ -171,6 +171,7 @@
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
experimental: this.$config.get("experimental"),
|
||||
isFullScreen: !!document.fullscreenElement,
|
||||
config: this.$config.values,
|
||||
searchExpanded: false,
|
||||
|
|
Loading…
Reference in a new issue