# HG changeset patch # User Fadi Abbud # Date 1632401256 -7200 # Node ID 279900b28b1be4c7ce6ae4bcb2991c40366faf82 # Parent 90506606a7ef6d09f4a3b7bcd2a54c2ec053f6b3 Client: Notify user by successfully deleting/deactivating users * Display an info-toast for the user's deleting-process. diff -r 90506606a7ef -r 279900b28b1b client/src/components/usermanagement/Usermanagement.vue --- a/client/src/components/usermanagement/Usermanagement.vue Thu Sep 23 13:40:33 2021 +0200 +++ b/client/src/components/usermanagement/Usermanagement.vue Thu Sep 23 14:47:36 2021 +0200 @@ -312,7 +312,18 @@ callback: () => { this.$store .dispatch("usermanagement/deleteUser", { name }) - .then(() => { + .then(response => { + displayInfo({ + message: + name + + // Exclude whitespaces from the string passed to "gettext" function + " " + + this.$gettext("user account") + + " " + + response.data.action + + " " + + this.$gettext("successfully") + }); this.$store .dispatch("usermanagement/loadUsers") .catch(error => {