Skip to content

Commit 9a232a8

Browse files
committed
PR feedback
1 parent 26ace52 commit 9a232a8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

site/src/pages/UsersPage/UsersPage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const Language = {
1515
suspendDialogMessagePrefix: "Do you want to suspend the user",
1616
activateDialogTitle: "Activate user",
1717
activateDialogAction: "Activate",
18-
activateDialogMessagePrefix: "Do you want to active the user",
18+
activateDialogMessagePrefix: "Do you want to activate the user",
1919
}
2020

2121
export const UsersPage: React.FC = () => {
@@ -108,6 +108,7 @@ export const UsersPage: React.FC = () => {
108108
/>
109109

110110
<ConfirmDialog
111+
type="success"
111112
hideCancel={false}
112113
open={usersState.matches("confirmUserActivation")}
113114
confirmLoading={usersState.matches("activatingUser")}

site/src/xServices/users/usersXService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export const Language = {
1717
createUserError: "Error on creating the user.",
1818
suspendUserSuccess: "Successfully suspended the user.",
1919
suspendUserError: "Error suspending user.",
20-
activateUserSuccess: "Successfully activated the user",
21-
activateUserError: "Error activating user",
20+
activateUserSuccess: "Successfully activated the user.",
21+
activateUserError: "Error activating user.",
2222
resetUserPasswordSuccess: "Successfully updated the user password.",
2323
resetUserPasswordError: "Error on resetting the user password.",
2424
updateUserRolesSuccess: "Successfully updated the user roles.",

0 commit comments

Comments
 (0)