From 73a977274a117f880df7cc53c04ba6a7d3ab19b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20K=C3=B6nig?= Date: Mon, 10 Jul 2023 20:35:20 +0200 Subject: [PATCH] mark some props as optional --- src/components/shared/IndexFilter/IndexSelect.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/shared/IndexFilter/IndexSelect.vue b/src/components/shared/IndexFilter/IndexSelect.vue index c06c9a5c..ee1f69b9 100644 --- a/src/components/shared/IndexFilter/IndexSelect.vue +++ b/src/components/shared/IndexFilter/IndexSelect.vue @@ -45,10 +45,10 @@ type Behavior = 'load' | 'use' const props = withDefaults(defineProps<{ modelValue: string[], - indexNames: string[], + indexNames?: string[], behavior: Behavior, - method: ElasticsearchMethod, - methodParams: any + method?: ElasticsearchMethod, + methodParams?: any }>(), { modelValue: () => ([]), indexNames: () => ([]),