diff --git a/CHANGELOG.md b/CHANGELOG.md index 57f5d9cc..2e8238d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ # Unreleased +* Fixed bug with save/discard changes in workflow task (\#315). +* Fixed first-run redirects issue (\#315). + # 0.6.0 * Added fractal-web version to the footer (\#312). diff --git a/src/lib/components/common/jschema/ArrayProperty.svelte b/src/lib/components/common/jschema/ArrayProperty.svelte index f3b17d71..df67bd7f 100644 --- a/src/lib/components/common/jschema/ArrayProperty.svelte +++ b/src/lib/components/common/jschema/ArrayProperty.svelte @@ -3,14 +3,14 @@ import PropertyDiscriminator from '$lib/components/common/jschema/PropertyDiscriminator.svelte'; import PropertyDescription from '$lib/components/common/jschema/PropertyDescription.svelte'; - export let schemaProperty = undefined; + export let schemaProperty; let nestedProperties = []; let accordionParentKey = schemaProperty.key.replaceAll('#', ''); let collapseSymbol = accordionParentKey + '-collapse'; onMount(() => { - schemaProperty.value?.forEach((nestedValue, index) => { + schemaProperty.value?.forEach((/** @type {any} */ nestedValue, /** @type {number} */ index) => { schemaProperty.addNestedSchemaProperty(nestedValue, index); }); nestedProperties = schemaProperty.nestedProperties; @@ -21,60 +21,68 @@ nestedProperties = schemaProperty.nestedProperties; } - function removeNestedProperty(index) { + function removeNestedProperty(/** @type {number} */ index) { schemaProperty.removeNestedSchemaProperty(index); nestedProperties = schemaProperty.nestedProperties; } - -{#if schemaProperty } -
Unable to display array data
-Unable to display array data
+Object schema is undefined
-Object schema is undefined
+