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() {