From 02870df588802dee0ea7b4e754ef013e5155897a Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 1 Apr 2023 11:39:27 -0700 Subject: [PATCH] fix search import --- packages/client/src/pages/search.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/client/src/pages/search.vue b/packages/client/src/pages/search.vue index 791e89a7f8..580281dbe2 100644 --- a/packages/client/src/pages/search.vue +++ b/packages/client/src/pages/search.vue @@ -14,7 +14,7 @@ - + @@ -26,6 +26,7 @@ import { computed, watch, onMounted } from 'vue'; import { Virtual } from 'swiper'; import { Swiper, SwiperSlide } from 'swiper/vue'; import XNotes from '@/components/MkNotes.vue'; +import XUserList from '@/components/MkUserList.vue'; import { i18n } from '@/i18n'; import { definePageMetadata } from '@/scripts/page-metadata'; import { defaultStore } from '@/store'; @@ -55,16 +56,16 @@ const usersPagination = { })), }; -const tabs = ['search', 'users']; +const tabs = ['notes', 'users']; let tab = $ref(tabs[0]); watch($$(tab), () => (syncSlide(tabs.indexOf(tab)))); const headerActions = $computed(() => []); const headerTabs = $computed(() => [ { - key: 'search', + key: 'notes', icon: 'ph-magnifying-glass ph-bold ph-lg', - title: i18n.ts.search, + title: i18n.ts.notes, }, { key: 'users', icon: 'ph-users ph-bold ph-lg',