Skip to content

Commit

Permalink
chore(ui): add validation messages for custom dashboard crud actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic committed Feb 12, 2025
1 parent b0b2ff5 commit b7e7f58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
source: input,
});
this.$toast().saved(response.title);
this.$toast().success(this.$t("custom_dashboard_validate_editing", {title: response.title}));
this.$store.dispatch("core/isUnsaved", false);
},
Expand Down
1 change: 1 addition & 0 deletions ui/src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,7 @@
"custom_dashboard_validate_creation": "Dashboard <code>{title}</code> is created.",
"create_dashboard": "Create Dashboard",
"edit_custom_dashboard": "Edit Dashboard",
"custom_dashboard_validate_editing": "Changes in dashboard <code>{title}</code> are saved.",
"custom_dashboard_empty": "There are no results to be shown.",
"filters": {
"label": "Choose filters",
Expand Down

0 comments on commit b7e7f58

Please sign in to comment.