Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F116095
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
631 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/modules/interface.js b/src/modules/interface.js
index 089e8299..26bfe295 100644
--- a/src/modules/interface.js
+++ b/src/modules/interface.js
@@ -339,6 +339,9 @@ const interfaceMod = {
let fetchFunc = index[result.nameUsed]
// Fallbacks
if (!fetchFunc) {
+ if (resource === 'style' || resource === 'palette') {
+ return result
+ }
const newName = Object.keys(index)[0]
fetchFunc = index[newName]
console.warn(`${capitalizedResource} with id '${state.styleNameUsed}' not found, trying back to '${newName}'`)
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 30, 8:16 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41402
Default Alt Text
(631 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment