hide style tab on mobile
This commit is contained in:
parent
098087a722
commit
13c482ea2a
|
@ -67,6 +67,9 @@ const SettingsModalContent = {
|
||||||
},
|
},
|
||||||
expertLevel () {
|
expertLevel () {
|
||||||
return this.$store.state.config.expertLevel
|
return this.$store.state.config.expertLevel
|
||||||
|
},
|
||||||
|
isMobileLayout () {
|
||||||
|
return this.$store.state.interface.layoutType === 'mobile'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
<AppearanceTab />
|
<AppearanceTab />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
v-if="expertLevel > 0 && !isMobileLayout"
|
||||||
:label="$t('settings.style.themes3.editor.title')"
|
:label="$t('settings.style.themes3.editor.title')"
|
||||||
icon="palette"
|
icon="palette"
|
||||||
data-tab-name="style"
|
data-tab-name="style"
|
||||||
|
@ -28,7 +29,7 @@
|
||||||
<StyleTab />
|
<StyleTab />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="expertLevel > 0"
|
v-if="expertLevel > 0 && !isMobileLayout"
|
||||||
:label="$t('settings.theme_old')"
|
:label="$t('settings.theme_old')"
|
||||||
icon="paint-brush"
|
icon="paint-brush"
|
||||||
data-tab-name="theme"
|
data-tab-name="theme"
|
||||||
|
|
Loading…
Reference in a new issue