fix eval preview
This commit is contained in:
@@ -208,6 +208,7 @@
|
||||
})
|
||||
|
||||
editor.onDidBlurEditorText(() => {
|
||||
dispatch('blur')
|
||||
code = getCode()
|
||||
})
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
>
|
||||
<Highlight
|
||||
language={json}
|
||||
code={JSON.stringify($evalPreview[`${id}.${field}`] ?? null, null, 4)}
|
||||
code={JSON.stringify($evalPreview[`${id}.${field}`] ?? null, null, 4) ?? 'null'}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user