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: 86900061c232ed925a254f813e718a0df104b67a
parent 10aa5755a4b31c8b55bbcb25326a9f81d3901487
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 20 Nov 2024 17:03:35 +0200

fix variables crashing the tab

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 @@ -540,8 +540,8 @@ export default { const [valType, valVal] = value.split('|') return { name: name.substring(2), - valType: valType.trim(), - value: valVal.trim() + valType: valType?.trim(), + value: valVal?.trim() } })