logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: aa922faf6264126560a872b6b60598ff1cc99149
parent 415180e8fa00ff48a42df131a1880ba9c85d661c
Author: Henry Jameson <me@hjkos.com>
Date:   Fri, 27 Sep 2024 16:37:57 +0300

small cleanup

Diffstat:

Msrc/components/settings_modal/tabs/style_tab/style_tab.js4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.js b/src/components/settings_modal/tabs/style_tab/style_tab.js @@ -226,7 +226,7 @@ export default { const getEditedElement = (component, directive) => computed({ get () { let usedRule - const fallback = editorFriendlyFallbackStructure + const fallback = editorFriendlyFallbackStructure.value const real = allEditedRules const path = getPath(component, directive) @@ -261,7 +261,7 @@ export default { const isTextColorPresent = isElementPresent('Text', 'color', '#000000') const isLinkColorPresent = isElementPresent('Link', 'color', '#000080') const isIconColorPresent = isElementPresent('Icon', 'color', '#909090') - const isShadowPresent = isElementPresent(null, 'shadow', [{ x: 0, y: 0, blur: 0, color: '#000000' }]) + const isShadowPresent = isElementPresent(null, 'shadow', []) const updateSelectedComponent = () => { selectedVariant.value = 'normal'