fix: page serchUsers
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
</template>
|
||||
|
||||
<template #default="{ state }">
|
||||
{{ menu }}
|
||||
<UNavigationMenu :key="state" :items="menuItems" orientation="vertical"
|
||||
:ui="{ link: 'p-1.5 overflow-hidden' }" />
|
||||
</template>
|
||||
@@ -39,7 +38,7 @@
|
||||
<div class="flex items-center gap-2">
|
||||
<UButton icon="i-lucide-panel-left" color="neutral" variant="ghost" aria-label="Toggle sidebar"
|
||||
@click="open = !open" />
|
||||
<p class="font-bold text-2xl">Customer-Management: <span class="text-[24px] font-bold">{{ pageTitle }}</span></p>
|
||||
<p class="font-bold text-xl">Customer-Management: <span class="text-[20px] font-medium">{{ pageTitle }}</span></p>
|
||||
</div>
|
||||
<div class="hidden md:flex items-center gap-12">
|
||||
<div class="flex items-center gap-2">
|
||||
@@ -54,7 +53,7 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex-1 p-4 bg-slate-50 dark:bg-(--main-dark)">
|
||||
<slot />
|
||||
@@ -71,7 +70,6 @@ import { defineShortcuts, extractShortcuts } from '@nuxt/ui/runtime/composables/
|
||||
import { useAuthStore } from '../stores/customer/auth'
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
|
||||
const route = useRoute()
|
||||
const pageTitle = computed(() => route.meta.name ?? 'Default Page')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user