From 789e0510eabdcf0c860402389c582aa7c7fd535d Mon Sep 17 00:00:00 2001 From: ajnart Date: Thu, 26 May 2022 18:15:00 +0200 Subject: [PATCH] :bug: Fix a bug with strings as module settings --- src/components/modules/moduleWrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modules/moduleWrapper.tsx b/src/components/modules/moduleWrapper.tsx index 0afc0dc85..be994c5e6 100644 --- a/src/components/modules/moduleWrapper.tsx +++ b/src/components/modules/moduleWrapper.tsx @@ -33,7 +33,7 @@ export function ModuleWrapper(props: any) { options: { ...config.modules[module.title].options, [keys[index]]: { - ...config.modules[module.title].options[keys[index]], + ...config.modules[module.title].options?.[keys[index]], value: (e.target as any)[0].value, }, },