feat(dashboard): active item for teams + runners
All checks were successful
Build Latest and dev images / build-container (push) Successful in 57s

This commit is contained in:
Philipp Dormann 2025-03-26 22:01:18 +01:00
parent 7633b7b056
commit 8a78034079
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -42,7 +42,7 @@
</a>
{#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:GET")}
<a
class:activenav={$router.path === "/runners/"}
class:activenav={$router.path.includes("/runners/")}
class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-200 hover:text-gray-900 w-full font-semibold"
href="/runners/"
>
@ -63,7 +63,7 @@
{/if}
{#if store.state.jwtinfo.userdetails.permissions.includes("TEAM:GET")}
<a
class:activenav={$router.path === "/teams/"}
class:activenav={$router.path.includes("/teams/")}
class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-200 hover:text-gray-900 w-full font-semibold"
href="/teams/"
>