Move manager routes under /admin
This commit is contained in:
@@ -14,6 +14,8 @@ import { formatOrderCode } from '~/composables/useOrderCodePresentation';
|
||||
|
||||
definePageMeta({
|
||||
middleware: ['manager-only'],
|
||||
path: '/admin/orders/:id',
|
||||
alias: ['/client-orders/:id'],
|
||||
});
|
||||
|
||||
const route = useRoute();
|
||||
@@ -316,7 +318,7 @@ watch(
|
||||
<template v-else>
|
||||
<div class="surface-card rounded-3xl px-5 py-4">
|
||||
<div class="flex flex-wrap items-center gap-3">
|
||||
<NuxtLink to="/client-orders" class="text-sm font-semibold text-[#0d854a]">
|
||||
<NuxtLink to="/admin/orders" class="text-sm font-semibold text-[#0d854a]">
|
||||
← Назад к заказам клиентов
|
||||
</NuxtLink>
|
||||
<span class="hidden h-4 w-px bg-[#d8e4dd] md:block" />
|
||||
|
||||
Reference in New Issue
Block a user