Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85949951
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
694 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/stores/interface.js b/src/stores/interface.js
index a2b408a501..ced47f65d5 100644
--- a/src/stores/interface.js
+++ b/src/stores/interface.js
@@ -692,10 +692,10 @@ export const useInterfaceStore = defineStore('interface', {
})
)
- const allPalettes = {
- ...stylePalettes,
- ...useInstanceStore().palettesIndex,
- }
+ const allPalettes = Object.keys(stylePalettes).length > 0
+ ? stylePalettes
+ : useInstanceStore().palettesIndex
+
const defaultPalette = (() => {
if (this.prefersDark === null) return null
const matchRegex = this.prefersDark ? /dark/i : /light/i
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Nov 18, 10:01 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1840304
Default Alt Text
(694 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline