Skip to content

Commit

Permalink
Fix files link on bucket version of admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
nakedmcse committed Aug 19, 2024
1 parent ab09e64 commit 7a24921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/snippets/navbar.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="nav nav-pills">
<li class="nav-item">
<a class="nav-link" id="filesNav" href="/admin/files">File Management</a>
<a class="nav-link" id="filesNav" href="<% if(user.email) { %>/admin/files<% } else { %>/admin/bucket<% } %>">File Management</a>
</li>
<li class="nav-item">
<a class="nav-link" id="statsNav" href="/admin/stats">Statistics</a>
Expand Down

0 comments on commit 7a24921

Please sign in to comment.