diff --git a/packages/builder/src/components/integration/RestQueryViewer.svelte b/packages/builder/src/components/integration/RestQueryViewer.svelte index 1a12c1fa47..b44831550e 100644 --- a/packages/builder/src/components/integration/RestQueryViewer.svelte +++ b/packages/builder/src/components/integration/RestQueryViewer.svelte @@ -695,7 +695,7 @@ menuItems={schemaMenuItems} showMenu={!schemaReadOnly} readOnly={schemaReadOnly} - compare={(option, value) => option.type === value.type} + compare={(option, value) => option.type === value?.type} /> {/if}