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,
|
HelpIndicator,
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
instanceSpecificPanelPresent() {
|
|
||||||
return useInstanceStore().showInstanceSpecificPanel
|
|
||||||
},
|
|
||||||
...SharedComputedObject(),
|
...SharedComputedObject(),
|
||||||
...mapState(useServerSideStorageStore, {
|
...mapState(useServerSideStorageStore, {
|
||||||
muteFilters: (store) =>
|
muteFilters: (store) =>
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,6 @@ const FilteringTab = {
|
||||||
HelpIndicator,
|
HelpIndicator,
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
instanceSpecificPanelPresent() {
|
|
||||||
return useInstanceStore().instanceIdentity.showInstanceSpecificPanel
|
|
||||||
},
|
|
||||||
...SharedComputedObject(),
|
...SharedComputedObject(),
|
||||||
...mapState(useServerSideStorageStore, {
|
...mapState(useServerSideStorageStore, {
|
||||||
muteFilters: (store) =>
|
muteFilters: (store) =>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import { mapState } from 'pinia'
|
||||||
|
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
import ProfileSettingIndicator from '../helpers/profile_setting_indicator.vue'
|
||||||
|
|
@ -31,12 +33,12 @@ const GeneralTab = {
|
||||||
ProfileSettingIndicator,
|
ProfileSettingIndicator,
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
postFormats() {
|
...mapState(useInstanceStore, {
|
||||||
return useInstanceStore().featureSet.postFormats || []
|
postFormats: (store) => store.featureSet.postFormats || [],
|
||||||
},
|
instanceSpecificPanelPresent: (store) =>
|
||||||
instanceShoutboxPresent() {
|
store.instanceIdentity.instanceSpecificPanelPresent,
|
||||||
return useInstanceStore().featureSet.shoutAvailable
|
instanceShoutboxPresent: (store) => store.featureSet.shoutAvailable,
|
||||||
},
|
}),
|
||||||
columns() {
|
columns() {
|
||||||
const mode = this.$store.getters.mergedConfig.thirdColumnMode
|
const mode = this.$store.getters.mergedConfig.thirdColumnMode
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue