feat: add success notification for dashboard layout save (#7510)

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang
2025-06-10 00:08:38 +08:00
committed by GitHub
parent 9a52de0f4e
commit c604952914
2 changed files with 4 additions and 1 deletions

View File

@@ -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 {