Skip to content

Commit

Permalink
fix: ensure organizations tab is only viewed for usdr admins (#2399)
Browse files Browse the repository at this point in the history
  • Loading branch information
as1729 authored Dec 20, 2023
1 parent 1577125 commit 4f1c558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/components/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default {
alerts: 'alerts/alerts',
}),
canSeeOrganizationsTab() {
return true;
return this.loggedInUser && this.loggedInUser.isUSDRSuperAdmin;
},
newTerminologyEnabled() {
return newTerminologyEnabled();
Expand Down

0 comments on commit 4f1c558

Please sign in to comment.