ISP fixes
This commit is contained in:
parent
3e71833cab
commit
74d83a996c
3 changed files with 8 additions and 12 deletions
|
|
@ -24,9 +24,6 @@ const ClutterTab = {
|
|||
HelpIndicator,
|
||||
},
|
||||
computed: {
|
||||
instanceSpecificPanelPresent() {
|
||||
return useInstanceStore().showInstanceSpecificPanel
|
||||
},
|
||||
...SharedComputedObject(),
|
||||
...mapState(useServerSideStorageStore, {
|
||||
muteFilters: (store) =>
|
||||
|
|
|
|||
|
|
@ -91,9 +91,6 @@ const FilteringTab = {
|
|||
HelpIndicator,
|
||||
},
|
||||
computed: {
|
||||
instanceSpecificPanelPresent() {
|
||||
return useInstanceStore().instanceIdentity.showInstanceSpecificPanel
|
||||
},
|
||||
...SharedComputedObject(),
|
||||
...mapState(useServerSideStorageStore, {
|
||||
muteFilters: (store) =>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
import { mapState } from 'pinia'
|
||||
|
||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
||||
|
|
@ -31,12 +33,12 @@ const GeneralTab = {
|
|||
ProfileSettingIndicator,
|
||||
},
|
||||
computed: {
|
||||
postFormats() {
|
||||
return useInstanceStore().featureSet.postFormats || []
|
||||
},
|
||||
instanceShoutboxPresent() {
|
||||
return useInstanceStore().featureSet.shoutAvailable
|
||||
},
|
||||
...mapState(useInstanceStore, {
|
||||
postFormats: (store) => store.featureSet.postFormats || [],
|
||||
instanceSpecificPanelPresent: (store) =>
|
||||
store.instanceIdentity.instanceSpecificPanelPresent,
|
||||
instanceShoutboxPresent: (store) => store.featureSet.shoutAvailable,
|
||||
}),
|
||||
columns() {
|
||||
const mode = this.$store.getters.mergedConfig.thirdColumnMode
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue