mirror of
https://github.com/bknd-io/bknd.git
synced 2026-10-23 14:55:11 +00:00
fixing ui modal styling and make sure schema reloads on media setting changes
This commit is contained in:
3 files changed
+9
-6
No files matched your search
@@ -7,7 +7,12 @@ export function useBkndMedia() {
|
||||
const actions = {
|
||||
config: {
|
||||
patch: async (data: Partial<TAppMediaConfig>) => {
|
||||
return await bkndActions.set("media", data, true);
|
||||
if (await bkndActions.set("media", data, true)) {
|
||||
await bkndActions.reload();
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user