From 18bb370dab93f39befbd1867fe471b1e1cf2b186 Mon Sep 17 00:00:00 2001 From: christian-byrne Date: Tue, 4 Feb 2025 15:52:06 -0700 Subject: [PATCH] return undefined instead of null when no default --- src/stores/widgetStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/widgetStore.ts b/src/stores/widgetStore.ts index 2552903da..3bb1cbace 100644 --- a/src/stores/widgetStore.ts +++ b/src/stores/widgetStore.ts @@ -54,7 +54,7 @@ export const useWidgetStore = defineStore('widget', () => { if (widgetType === 'COMBO' && props.options?.length) return props.options[0] if (props.type === 'remote') return 'Loading...' - return null + return undefined } const transformComboInput = (inputData: InputSpec): ComboInputSpecV2 => {