override config on save

This commit is contained in:
Fran Jurmanović
2025-02-08 16:27:09 +01:00
parent 3e36d28b10
commit 9d3ad6a452

View File

@@ -32,7 +32,7 @@ export const actions = {
object[key] = !Number.isNaN(+value) ? +value : value; object[key] = !Number.isNaN(+value) ? +value : value;
} }
}); });
await updateConfig(id, 'event.json', object, false, true); await updateConfig(id, 'event.json', object, true, true);
redirect(303, '/dashboard'); redirect(303, '/dashboard');
} }
} satisfies Actions; } satisfies Actions;