refactor(tools): Move tools to tools route

This commit is contained in:
2025-05-01 19:52:08 +02:00
parent e4f9b1a605
commit 16dc789db5
2 changed files with 9 additions and 11 deletions

View File

@@ -46,9 +46,9 @@
</h2>
{#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:GET") && store.state.jwtinfo.userdetails.permissions.includes("CARD:GET")}
<a
class:activenav={$router.path.includes("/cardassignment/")}
class:activenav={$router.path.includes("/tools/cardassignment/")}
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="/cardassignment/"
href="/tools/cardassignment/"
>
<svg
xmlns="http://www.w3.org/2000/svg"
@@ -66,9 +66,9 @@
<span>{$_("card_assignment_menu")}</span>
</a>
<a
class:activenav={$router.path.includes("/cardreplacement/")}
class:activenav={$router.path.includes("/tools/cardreplacement/")}
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="/cardreplacement/"
href="/tools/cardreplacement/"
>
<svg
xmlns="http://www.w3.org/2000/svg"