diff --git a/src/pages-and-resources/progress/Settings.jsx b/src/pages-and-resources/progress/Settings.jsx index f9326aee8d..33ab4fa9ae 100644 --- a/src/pages-and-resources/progress/Settings.jsx +++ b/src/pages-and-resources/progress/Settings.jsx @@ -10,7 +10,7 @@ import messages from './messages'; const ProgressSettings = ({ intl, onClose }) => { const [disableProgressGraph, saveSetting] = useAppSetting('disableProgressGraph'); - const showProgressGraphSetting = getConfig().ENABLE_PROGRESS_GRAPH_SETTINGS.toLowerCase() === 'true'; + const showProgressGraphSetting = getConfig().ENABLE_PROGRESS_GRAPH_SETTINGS.toString().toLowerCase() === 'true'; const handleSettingsSave = (values) => { if (showProgressGraphSetting) { saveSetting(!values.enableProgressGraph); }