make simple object settable as JSON

This commit is contained in:
Ruben Fiszel
2022-08-16 19:02:02 +02:00
parent ccd0edc839
commit beee877bbd
+1 -1
View File
@@ -272,7 +272,7 @@
{:else if inputCat == 'resource-object'}
<ObjectResourceInput {format} bind:value />
{:else if inputCat == 'object'}
{#if properties}
{#if properties && Object.keys(properties).length > 0}
<div class="p-4 pl-8 border rounded w-full">
<SchemaForm
schema={{ properties, $schema: '', required: [], type: 'object' }}