Skip to content

Commit

Permalink
Check if the user is staff rather than admin to display the tab
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-dohm committed Oct 28, 2020
1 parent b6491fa commit 51d57aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/head_tag.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script type='text/x-handlebars' data-template-name='/connectors/extra-nav-item/assigned-tab'>
{{#if currentUser.admin}}
{{#if currentUser.staff}}
<a href="/latest?assigned=me">Assigned</a>
{{/if }}
</script>
</script>

0 comments on commit 51d57aa

Please sign in to comment.