added rejected posts for admin

This commit is contained in:
SlimusMinus
2026-10-06 02:06:44 +03:00
parent 9ccad319cd
commit 0074e51829
6 changed files with 76 additions and 29 deletions

View File

@@ -141,6 +141,16 @@ export default function Sidebar({
>
{NavIcons.rules()} {t('adminPanel.postsNav')}
</button>
<button
type="button"
className={`f-sb-item${activeNav === "admin-posts-rejected" ? " active" : ""}`}
onClick={() => {
navigate("/admin/ads?tab=rejected");
onClose();
}}
>
{NavIcons.rules()} {t('adminPanel.postsRejectedNav')}
</button>
</>
)}
</nav>