Move manager routes under /admin
This commit is contained in:
@@ -4,6 +4,8 @@ import { CreateInvitationDocument } from '~/composables/graphql/generated';
|
||||
|
||||
definePageMeta({
|
||||
middleware: ['manager-only'],
|
||||
path: '/admin/orders/clients/invite',
|
||||
alias: ['/clients/invite'],
|
||||
});
|
||||
|
||||
const email = ref('');
|
||||
@@ -37,7 +39,7 @@ async function createInvitation() {
|
||||
|
||||
<template>
|
||||
<section class="space-y-6 max-w-3xl">
|
||||
<NuxtLink to="/clients" class="text-sm font-semibold text-[#0d854a]">← Назад к пользователям</NuxtLink>
|
||||
<NuxtLink to="/admin/orders/clients" class="text-sm font-semibold text-[#0d854a]">← Назад к пользователям</NuxtLink>
|
||||
|
||||
<div class="manager-hero">
|
||||
<p class="manager-eyebrow">Приглашение</p>
|
||||
|
||||
Reference in New Issue
Block a user