fix: only show search if users are more than 10

(cherry picked from commit ec6b1558b15432490ba3e1933c2448b2d32c5a4b)
This commit is contained in:
Shariq Ansari 2025-06-24 15:36:54 +05:30 committed by Mergify
parent 14ac102d6d
commit b932130bb2

View File

@ -63,7 +63,10 @@
class="flex flex-col overflow-hidden"
v-if="!users.loading && users.data?.crmUsers?.length > 1"
>
<div class="flex items-center justify-between mb-4">
<div
v-if="users.data?.crmUsers?.length > 10"
class="flex items-center justify-between mb-4"
>
<TextInput
ref="searchRef"
v-model="search"