Skip to content

Commit

Permalink
Revert "Improved: Toast message now includes the username (hotwax#305)"
Browse files Browse the repository at this point in the history
This reverts commit 8aa6473.
  • Loading branch information
priyanshee1604 committed Jan 16, 2025
1 parent 8aa6473 commit 56cce9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/components/SecurityGroupActionsPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@
this.closePopover(userSecurityGroups)
},
async confirmRemove() {
const username = this.selectedUser.groupName ? this.selectedUser.groupName: this.selectedUser.firstName +' '+ this.selectedUser.lastName
const message = "Removing this security group may limit 's access to certain features or data. Are you sure you want to continue?"
const message = "Removing this security group may limit user's access to certain features. Are you sure you want to continue?"
const alert = await alertController.create({
header: translate("Remove security group"),
message: translate(message, { username }),
message: translate(message),
buttons: [
{
text: translate("Keep Group"),
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"Remove phone number": "Remove phone number",
"Remove product store": "Remove product store",
"Remove users": "Remove users",
"Removing this security group may limit 's access to certain features or data. Are you sure you want to continue?": "Removing this security group may limit {username}'s access to certain features or data. Are you sure you want to continue?`",
"Removing this security group may limit user's access to certain features. Are you sure you want to continue?":"Removing this security group may limit user's access to certain features. Are you sure you want to continue?",
"Rename Security Group": "Rename Security Group",
"Require password reset on login": "Require password reset on login",
"Reset password": "Reset password",
Expand Down

0 comments on commit 56cce9e

Please sign in to comment.