Skip to content

Commit

Permalink
Improved: Better alert message when removing the Security Group (hotw…
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshee1604 committed Jan 15, 2025
1 parent a97d141 commit 199a575
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ProductStoreActionsPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ export default defineComponent({
this.closePopover()
},
async confirmRemove() {
const message = 'Are you sure you want to perform this action?'
const message = `Removing this security group might restrict user's access to certain features. Are you sure you want to continue?`
const alert = await alertController.create({
header: translate("Remove product store"),
message: translate(message),
buttons: [
{
text: translate("No"),
text: translate("Keep Group"),
},
{
text: translate("Yes"),
text: translate("Remove"),
handler: async () => {
await this.removeProductStoreRole();
}
Expand Down
2 changes: 2 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"Internal ID cannot be more than 20 characters.": "Internal ID cannot be more than 20 characters.",
"Invalid email address.": "Invalid email address.",
"is ready to login": "{userLoginId} is ready to login.",
"Keep Group":"Keep Group",
"Language": "Language",
"Last name": "Last name",
"Last name is required.": "Last name is required.",
Expand Down Expand Up @@ -163,6 +164,7 @@
"Remove phone number": "Remove phone number",
"Remove product store": "Remove product store",
"Remove users": "Remove users",
"Removing this security group might restrict user's access to certain features. Are you sure you want to continue?":"Removing this security group might restrict 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 199a575

Please sign in to comment.