Skip to content

Commit

Permalink
Fix warn messages
Browse files Browse the repository at this point in the history
  • Loading branch information
philemone committed Dec 27, 2024
1 parent a34cc21 commit d22e5fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions designer/client/src/components/graph/Graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class Graph extends React.Component<Props> {
if (!this.props.isPristine) {
this.props.notifications.warn(
i18next.t(
"notification.warn.cannotDeleteOnUnsavedVersion",
"notification.warn.cannotMoveOnUnsavedVersion",
"Save scenario before making any changes to sticky notes",
),
);
Expand Down Expand Up @@ -484,7 +484,7 @@ export class Graph extends React.Component<Props> {
if (isStickyNoteElement(cell)) {
if (!this.props.isPristine) {
this.props.notifications.warn(
i18next.t("notification.warn.cannotDeleteOnUnsavedVersion", "Save scenario before resizing sticky note"),
i18next.t("notification.warn.cannotResizeOnUnsavedVersion", "Save scenario before resizing sticky note"),
);
return;
}
Expand All @@ -511,7 +511,7 @@ export class Graph extends React.Component<Props> {
if (isStickyNoteElement(cell)) {
if (!this.props.isPristine) {
this.props.notifications.warn(
i18next.t("notification.warn.cannotDeleteOnUnsavedVersion", "Save scenario before updating sticky note"),
i18next.t("notification.warn.cannotUpdateOnUnsavedVersion", "Save scenario before updating sticky note"),
);
return;
}
Expand Down

0 comments on commit d22e5fb

Please sign in to comment.