From bb93543abc8ddcbf3277a43c03b30d30c96338e9 Mon Sep 17 00:00:00 2001 From: jingrow Date: Wed, 19 Nov 2025 02:02:48 +0800 Subject: [PATCH] hide search for non-System Users --- apps/jingrow/frontend/src/app/layouts/AppHeader.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/jingrow/frontend/src/app/layouts/AppHeader.vue b/apps/jingrow/frontend/src/app/layouts/AppHeader.vue index 38979ea..bcea2a0 100644 --- a/apps/jingrow/frontend/src/app/layouts/AppHeader.vue +++ b/apps/jingrow/frontend/src/app/layouts/AppHeader.vue @@ -29,8 +29,9 @@
- + localStorage.getItem('appName') || 'Jingrow') const user = computed(() => authStore.user) +const isSystemUser = computed(() => authStore.user?.user_type === 'System User') const breadcrumbItems = computed(() => { const items: Array<{ label: string; href?: string }> = []