Skip to content

Commit

Permalink
remove localized user group name
Browse files Browse the repository at this point in the history
  • Loading branch information
ipula committed Jan 7, 2025
1 parent f286ca7 commit 014f111
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/managers/UserAccessManager/UserAccessManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<TableCell>
<template v-for="(userGroups, i) in user.groups" :key="i">
<div class="flex flex-col">
{{ localize(userGroups.name) }}
{{ userGroups.name }}
</div>
</template>
</TableCell>
Expand Down
32 changes: 7 additions & 25 deletions src/managers/UserAccessManager/mocks/UserAccessMock.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,8 @@ export default {
groups: [
{
id: 14,
name: {
en: 'Author',
fr_CA: 'Auteur-e',
},
abbrev: {
en: 'AU',
fr_CA: 'AU',
},
name: 'Author',
abbrev: 'AU',
roleId: 65536,
showTitle: true,
permitSelfRegistration: true,
Expand All @@ -41,14 +35,8 @@ export default {
},
{
id: 15,
name: {
en: 'Translator',
fr_CA: 'Traducteur-trice',
},
abbrev: {
en: 'Trans',
fr_CA: 'Trad',
},
name: 'Translator',
abbrev: 'Trans',
roleId: 65536,
showTitle: true,
permitSelfRegistration: false,
Expand All @@ -57,14 +45,8 @@ export default {
},
{
id: 17,
name: {
en: 'Reader',
fr_CA: 'Lecteur-trice',
},
abbrev: {
en: 'Read',
fr_CA: 'Lect',
},
name: 'Reader',
abbrev: 'Read',
roleId: 1048576,
showTitle: true,
permitSelfRegistration: true,
Expand Down Expand Up @@ -163,4 +145,4 @@ export default {
userName: 'testuser',
},
],
};
};

0 comments on commit 014f111

Please sign in to comment.