fix a lot of stuff by simply moving const to a proper place
This commit is contained in:
parent
12b4b00e49
commit
c2be818504
6 changed files with 10 additions and 15 deletions
|
|
@ -108,7 +108,7 @@ const MentionLink = {
|
|||
return this.highlightData && '-' + this.highlightData.type
|
||||
},
|
||||
highlightClass() {
|
||||
return this.highlightData && highlightClass(this.user)
|
||||
return this.highlightData && highlightClass(this.user)
|
||||
},
|
||||
style() {
|
||||
if (this.highlightData) {
|
||||
|
|
|
|||
|
|
@ -9,12 +9,10 @@ import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
|
|||
import Popover from '../popover/popover.vue'
|
||||
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
import {
|
||||
LOCAL_ONLY_KEYS,
|
||||
useLocalConfigStore,
|
||||
} from 'src/stores/local_config.js'
|
||||
import { useLocalConfigStore } from 'src/stores/local_config.js'
|
||||
import { useSyncConfigStore } from 'src/stores/sync_config.js'
|
||||
|
||||
import { LOCAL_ONLY_KEYS } from 'src/modules/default_config_state.js'
|
||||
import {
|
||||
newExporter,
|
||||
newImporter,
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ const FilteringTab = {
|
|||
label: this.$t(`user_card.mute_block_${mode}`),
|
||||
})),
|
||||
muteFiltersDraftObject: cloneDeep(
|
||||
useSyncConfigStore().prefsStorage.simple.muteFilters,
|
||||
useSyncConfigStore().mergedConfig.muteFilters,
|
||||
),
|
||||
muteFiltersDraftDirty: Object.fromEntries(
|
||||
Object.entries(
|
||||
|
|
@ -260,7 +260,7 @@ const FilteringTab = {
|
|||
},
|
||||
muteFiltersObject() {
|
||||
this.muteFiltersDraftObject = cloneDeep(
|
||||
useSyncConfigStore().prefsStorage.simple.muteFilters,
|
||||
useSyncConfigStore().mergedConfig.muteFilters,
|
||||
)
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue