mirror of
https://github.com/halo-dev/halo.git
synced 2025-12-20 16:44:38 +08:00
feat: add success notification for dashboard layout save (#7510)
Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
@@ -257,6 +257,8 @@ async function handleSave() {
|
||||
await queryClient.invalidateQueries({
|
||||
queryKey: ["core:dashboard:widgets:view"],
|
||||
});
|
||||
|
||||
Toast.success(t("core.common.toast.save_success"));
|
||||
} catch (error) {
|
||||
console.error("Failed to save dashboard widgets config", error);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user