mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 16:35:49 +01:00
🚑 Critical hotfix for various bugs
This commit is contained in:
@@ -51,7 +51,7 @@ export function ConfigProvider({ children }: Props) {
|
||||
async function loadConfig(configName: string) {
|
||||
try {
|
||||
const response = await axios.get(`/api/configs/${configName}`);
|
||||
setConfigInternal(response.data);
|
||||
setConfigInternal(JSON.parse(response.data));
|
||||
showNotification({
|
||||
title: 'Config',
|
||||
icon: <Check />,
|
||||
|
||||
Reference in New Issue
Block a user