Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F115175
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.js b/src/components/settings_modal/tabs/style_tab/style_tab.js
index 5975afd7..bcf15665 100644
--- a/src/components/settings_modal/tabs/style_tab/style_tab.js
+++ b/src/components/settings_modal/tabs/style_tab/style_tab.js
@@ -298,7 +298,7 @@ export default {
}
if (hasChildren) {
- acc._children = acc._children ?? {}
+ output._children = output._children ?? {}
const {
component: cComponent,
variant: cVariant = 'normal',
@@ -307,7 +307,7 @@ export default {
} = child
const cPath = `${cComponent}.${cVariant}.${normalizeStates(cState)}`
- set(output._children, cPath, directives)
+ set(output._children, cPath, { directives })
} else {
output.directives = parent.directives
}
@@ -628,14 +628,7 @@ export default {
onPalettesUpdate(palettesIn.map(x => ({ name: x.variant, ...x.directives })))
- Object.keys(allEditedRules.value).forEach((k) => delete allEditedRules.value[k])
-
- rules.forEach(rule => {
- rulesToEditorFriendly(
- [rule],
- allEditedRules.value
- )
- })
+ allEditedRules.value = rulesToEditorFriendly(rules)
exports.updateOverallPreview()
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Nov 27, 12:39 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40628
Default Alt Text
(1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment