From b6a86d11d2fad8a073bdd46235eb49e4d9b4b784 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 1 Sep 2024 15:11:06 -0500 Subject: [PATCH] Fix:Toasts for item details updated --- client/components/modals/item/tabs/Details.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/components/modals/item/tabs/Details.vue b/client/components/modals/item/tabs/Details.vue index 6f814e1b..48b97088 100644 --- a/client/components/modals/item/tabs/Details.vue +++ b/client/components/modals/item/tabs/Details.vue @@ -108,9 +108,9 @@ export default { if (res.warning) { this.$toast.warning(res.warning) } else if (res.updated) { - this.$toast.success(this.$strings.ToastNoUpdatesNecessary) + this.$toast.success(this.$strings.ToastItemDetailsUpdateSuccess) } else { - this.$toast.info(this.$strings.ToastItemDetailsUpdateUnneeded) + this.$toast.info(this.$strings.ToastNoUpdatesNecessary) } }) .catch((error) => { @@ -170,7 +170,7 @@ export default { this.isProcessing = false if (updateResult) { if (updateResult.updated) { - this.$toast.success(this.$strings.MessageItemDetailsUpdated) + this.$toast.success(this.$strings.ToastItemDetailsUpdateSuccess) return true } else { this.$toast.info(this.$strings.MessageNoUpdatesWereNecessary)