Skip to content

Commit

Permalink
🔧 Hiding user invs in admin nav
Browse files Browse the repository at this point in the history
  • Loading branch information
anditv21 committed Oct 3, 2023
1 parent c5135c5 commit ccdcd57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/includes/navbar.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
<li class="nav-item">
<a class="nav-link" href="<?= SUB_DIR ?>/user/tokens.php">Login Tokens <i class="fas fa-shield-alt"></i></a>
</li>

<?php endif; ?>
<?php if (Util::adminCheck(false) == false or Util::suppCheck(false) == false) : ?>

<li class="nav-item">
<a class="nav-link" href="<?= SUB_DIR ?>/user/invites.php">User Invites <i class="fas fa-envelope"></i></a>
</li>
Expand Down

0 comments on commit ccdcd57

Please sign in to comment.