Skip to content

Commit 1639527

Browse files
committed
Proponent ui text change
Signed-off-by: Sanjay Babu <sanjaytkbabu@gmail.com>
1 parent d2366a6 commit 1639527

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

frontend/src/components/form/FormNavigationGuard.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ onBeforeRouteLeave(async (to) => {
2727
autoSaveRef?.stopAutoSave();
2828
2929
// Skip navigation guard if already accepted
30-
if (isAccepted.value) {
31-
return true;
32-
}
30+
if (isAccepted.value) return true;
3331
3432
if (isDirty.value && !isOpen.value) {
3533
isOpen.value = true;

frontend/src/components/projectCommon/submission/ProjectTeamTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function onRevokeUserClick(contact: ActivityContact) {
123123
<div class="basis-1/6">
124124
<div class="flex justify-end">
125125
<Button
126-
:label="t('e.common.projectTeamTab.addUserBtn')"
126+
:label="t('e.common.projectTeamTab.addMemberBtn')"
127127
icon="pi pi-plus"
128128
outlined
129129
@click="createUserModalVisible = true"

frontend/src/locales/en-CA.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"save": "Save"
7272
},
7373
"projectTeamTab": {
74-
"addUserBtn": "Add user",
74+
"addMemberBtn": "Add team member",
7575
"adminAdded": "{first} {last} has been added as a Project Admin.",
7676
"adminUpdated": "{first} {last} is now a Project Admin.",
7777
"failedToAdd": "Failed to add user",

0 commit comments

Comments
 (0)