Skip to content

Commit

Permalink
PLAN-310 hide admin tab like in the flyout
Browse files Browse the repository at this point in the history
- only people who can see the admin page can see the admin tab.
(not that there is anything on it yet)
  • Loading branch information
Gailbear committed Jun 4, 2022
1 parent 6207465 commit 41b98b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/people/person_tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
:person_id="person.id"
></session-ranker>
</b-tab>
<b-tab title="Admin" disabled lazy>
<b-tab title="Admin" disabled lazy v-if="currentUserIsAdmin">
</b-tab>
<b-tab title="Surveys" disabled lazy>
</b-tab>
Expand Down

0 comments on commit 41b98b0

Please sign in to comment.