feat/add_user_theme_view_controls: do not display icon if thumbs are disabled

This commit is contained in:
sedum
2022-11-29 17:59:40 +01:00
parent 88145867ae
commit a535e9c215
2 changed files with 9 additions and 18 deletions

View File

@@ -24,10 +24,7 @@ import { mdiRepeat, mdiCalendar, mdiMapMarker } from '@mdi/js'
export default {
data({ $store }) {
return { mdiRepeat, mdiMapMarker, mdiCalendar,
// user can't see hidden thumbs
hide_thumbs: this.$cookies.get('theme.hide_thumbs') || $store.state.settings.hide_thumbs
// user can override
// hide_thumbs: this.$cookies.get('theme.hide_thumbs')
}
},
components: {