From 86900061c232ed925a254f813e718a0df104b67a Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 20 Nov 2024 17:03:35 +0200 Subject: [PATCH] fix variables crashing the tab --- src/components/settings_modal/tabs/style_tab/style_tab.js | 4 ++-- 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 index cea73496..d105630d 100644 --- 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() } })