mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
🐛 Fix a bug with strings as module settings
This commit is contained in:
@@ -33,7 +33,7 @@ export function ModuleWrapper(props: any) {
|
|||||||
options: {
|
options: {
|
||||||
...config.modules[module.title].options,
|
...config.modules[module.title].options,
|
||||||
[keys[index]]: {
|
[keys[index]]: {
|
||||||
...config.modules[module.title].options[keys[index]],
|
...config.modules[module.title].options?.[keys[index]],
|
||||||
value: (e.target as any)[0].value,
|
value: (e.target as any)[0].value,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user