Skip to content

Commit ccfe732

Browse files
committed
feat: display whom you want to remove
1 parent 879ff7c commit ccfe732

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/application/i18n/messages/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"Write": "Writer"
7070
},
7171
"removeMemberConfirmationTitle": "Remove member",
72-
"removeMemberConfirmationBody": "Are you sure you want to remove the user from the team?",
72+
"removeMemberConfirmationBody": "Are you sure you want to remove '{username}' from the team?",
7373
"contextMenu": {
7474
"title": "More actions",
7575
"remove": "Remove"

src/presentation/components/team/MoreActions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const handleButtonClick = (): void => {
7979
const handleRemove = async (member: TeamMember): Promise<void> => {
8080
const shouldRemove = await confirm(
8181
t('noteSettings.team.removeMemberConfirmationTitle'),
82-
t('noteSettings.team.removeMemberConfirmationBody')
82+
t('noteSettings.team.removeMemberConfirmationBody', { username: member.user.name })
8383
);
8484
8585
if (shouldRemove) {

0 commit comments

Comments
 (0)