override config on save
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user