separation

This commit is contained in:
Henry Jameson 2026-01-29 15:11:47 +02:00
commit 573a980512
12 changed files with 56 additions and 31 deletions

View file

@ -274,11 +274,11 @@ const AppearanceTab = {
return !window.IntersectionObserver
},
instanceWallpaper() {
useInstanceStore().background
useInstanceStore().instanceIdentity.background
},
instanceWallpaperUsed() {
return (
useInstanceStore().background &&
useInstanceStore().instanceIdentity.background &&
!this.$store.state.users.currentUser.background_image
)
},
@ -333,13 +333,23 @@ const AppearanceTab = {
}
},
isThemeActive(key) {
return key === (this.mergedConfig.theme || useInstanceStore().theme)
return (
key ===
(this.mergedConfig.theme || useInstanceStore().instanceIdentity.theme)
)
},
isStyleActive(key) {
return key === (this.mergedConfig.style || useInstanceStore().style)
return (
key ===
(this.mergedConfig.style || useInstanceStore().instanceIdentity.style)
)
},
isPaletteActive(key) {
return key === (this.mergedConfig.palette || useInstanceStore().palette)
return (
key ===
(this.mergedConfig.palette ||
useInstanceStore().instanceIdentity.palette)
)
},
...mapActions(useInterfaceStore, ['setStyle', 'setTheme']),
setPalette(name, data) {

View file

@ -91,7 +91,7 @@ const FilteringTab = {
},
computed: {
instanceSpecificPanelPresent() {
return useInstanceStore().showInstanceSpecificPanel
return useInstanceStore().instanceIdentity.showInstanceSpecificPanel
},
...SharedComputedObject(),
...mapState(useServerSideStorageStore, {