refactor(tools): Move tools to tools route
This commit is contained in:
		| @@ -133,13 +133,11 @@ | |||||||
|             <RunnerDetail {params} /> |             <RunnerDetail {params} /> | ||||||
|           </Route> |           </Route> | ||||||
|         </Route> |         </Route> | ||||||
|         <Route path="/cardassignment/*"> |         <Route path="/tools/*"> | ||||||
|           <Route path="/"> |           <Route path="/cardassignment/"> | ||||||
|               <CardAssignment /> |               <CardAssignment /> | ||||||
|           </Route> |           </Route> | ||||||
|         </Route> |           <Route path="/cardreplacement/"> | ||||||
|         <Route path="/cardreplacement/*"> |  | ||||||
|           <Route path="/"> |  | ||||||
|               <CardReplacement /> |               <CardReplacement /> | ||||||
|           </Route> |           </Route> | ||||||
|         </Route> |         </Route> | ||||||
|   | |||||||
| @@ -46,9 +46,9 @@ | |||||||
|       </h2> |       </h2> | ||||||
|       {#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:GET") && store.state.jwtinfo.userdetails.permissions.includes("CARD:GET")} |       {#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:GET") && store.state.jwtinfo.userdetails.permissions.includes("CARD:GET")} | ||||||
|         <a |         <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" |           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 |           <svg | ||||||
|             xmlns="http://www.w3.org/2000/svg" |             xmlns="http://www.w3.org/2000/svg" | ||||||
| @@ -66,9 +66,9 @@ | |||||||
|           <span>{$_("card_assignment_menu")}</span> |           <span>{$_("card_assignment_menu")}</span> | ||||||
|         </a> |         </a> | ||||||
|         <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" |           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 |           <svg | ||||||
|             xmlns="http://www.w3.org/2000/svg" |             xmlns="http://www.w3.org/2000/svg" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user