Skip to content

Commit

Permalink
mark some props as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
cars10 committed Jul 10, 2023
1 parent 0d44271 commit 73a9772
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/shared/IndexFilter/IndexSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: () => ([]),
Expand Down

0 comments on commit 73a9772

Please sign in to comment.