fix: new and edit community pages no longer select community button on nav bar

This commit is contained in:
Jemma Poffinbarger
2024-07-29 13:57:14 -05:00
parent 75d0a9101c
commit e4b102191d
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@
</style>
<div id="main">
<h2 id="title" class="page-header">Edit Community</h2>
<%- include('partials/nav_bar', { selection: 2, pid: pid }); %>
<%- include('partials/nav_bar', { selection: -1, pid: pid }); %>
<div id="toast"></div>
<div id="wrapper" class="community-page-post-box">
<div class="buttons tabs">

View File

@@ -48,7 +48,7 @@
}
</style>
<h2 id="title" class="page-header">New Community</h2>
<%- include('partials/nav_bar', { selection: 2, pid: pid }); %>
<%- include('partials/nav_bar', { selection: -1, pid: pid }); %>
<div id="toast"></div>
<div id="wrapper" class="community-page-post-box">
<div class="buttons tabs">