diff --git a/frontend/src/pages/Settings/index.js b/frontend/src/pages/Settings/index.js index d363c9d..6490aaa 100644 --- a/frontend/src/pages/Settings/index.js +++ b/frontend/src/pages/Settings/index.js @@ -182,7 +182,11 @@ const Settings = () => { } const getSettingValue = (key, _obj = false) => { - const { value, obj } = settings.find((s) => s.key === key) + //const { value, obj } = settings.find((s) => s.key === key) + const setting = settings.find((s) => s.key === key) + + const value = setting?.value || "" + const obj = setting?.obj || null if (_obj) return obj