diff --git a/web/src/pages/ConfigPage.tsx b/web/src/pages/ConfigPage.tsx index 66df9cd8f4d..ab402fb1563 100644 --- a/web/src/pages/ConfigPage.tsx +++ b/web/src/pages/ConfigPage.tsx @@ -118,6 +118,7 @@ export default function ConfigPage() { const [yamlText, setYamlText] = useState(""); const [yamlLoading, setYamlLoading] = useState(false); const [yamlSaving, setYamlSaving] = useState(false); + const [configPath, setConfigPath] = useState(null); const [activeCategory, setActiveCategory] = useState(""); const [confirmReset, setConfirmReset] = useState(false); const { toast, showToast } = useToast(); @@ -177,6 +178,10 @@ export default function ConfigPage() { .getDefaults() .then(setDefaults) .catch(() => {}); + api + .getStatus() + .then((resp) => setConfigPath(resp.config_path)) + .catch(() => {}); }, []); // Set active category when categories load @@ -416,7 +421,7 @@ export default function ConfigPage() {
- {t.config.configPath} + {configPath ?? t.config.configPath}