Initial work on deprecating scopeModesEnabled in favor of minimalScopeMode

This commit is contained in:
Henry Jameson 2019-03-03 15:15:41 +02:00
parent cef0306428
commit 6184c88ac7
15 changed files with 149 additions and 31 deletions

View file

@ -4,6 +4,7 @@ import get from 'lodash/get'
import TabSwitcher from '../tab_switcher/tab_switcher.js'
import ImageCropper from '../image_cropper/image_cropper.vue'
import StyleSwitcher from '../style_switcher/style_switcher.vue'
import ScopeSelector from '../scope_selector/scope_selector.vue'
import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
import BlockCard from '../block_card/block_card.vue'
import MuteCard from '../mute_card/mute_card.vue'
@ -66,6 +67,7 @@ const UserSettings = {
},
components: {
StyleSwitcher,
ScopeSelector,
TabSwitcher,
ImageCropper,
BlockList,
@ -78,8 +80,8 @@ const UserSettings = {
pleromaBackend () {
return this.$store.state.instance.pleromaBackend
},
scopeOptionsEnabled () {
return this.$store.state.instance.scopeOptionsEnabled
scopeOptionsMinimal () {
return this.$store.state.instance.scopeOptionsMinimal
},
vis () {
return {