From d9ed82f433fb185fe93bf8037278e8b620df4f1c Mon Sep 17 00:00:00 2001 From: arlo Date: Wed, 23 Jul 2025 21:25:13 +0800 Subject: [PATCH] feat: add search for assets --- .../src/app/components/data/SearchPanel.vue | 6 +- .../app/pages/session/[session]/assets.vue | 81 ++++++++++++++----- 2 files changed, 62 insertions(+), 25 deletions(-) diff --git a/packages/devtools/src/app/components/data/SearchPanel.vue b/packages/devtools/src/app/components/data/SearchPanel.vue index 4df5aa85..dd928a33 100644 --- a/packages/devtools/src/app/components/data/SearchPanel.vue +++ b/packages/devtools/src/app/components/data/SearchPanel.vue @@ -3,7 +3,7 @@ import type { FilterMatchRule } from '~/utils/icon' import { useVModel } from '@vueuse/core' import { withDefaults } from 'vue' -interface ModelValue { search: string, selected: string[] | null } +interface ModelValue { search: string, selected?: string[] | null } const props = withDefaults( defineProps<{ @@ -71,7 +71,7 @@ function unselectToggle() {