diff --git a/src/UI/Studio/CollapsedTagRenderingPreview.svelte b/src/UI/Studio/CollapsedTagRenderingPreview.svelte index 920bcb832..17c79d6fe 100644 --- a/src/UI/Studio/CollapsedTagRenderingPreview.svelte +++ b/src/UI/Studio/CollapsedTagRenderingPreview.svelte @@ -193,13 +193,12 @@ {/if} {:else if schema.hints.types} - + {:else} {#each subparts as subpart} {/each} {/if} diff --git a/src/UI/Studio/EditLayerState.ts b/src/UI/Studio/EditLayerState.ts index 95e3374db..e7bd27e69 100644 --- a/src/UI/Studio/EditLayerState.ts +++ b/src/UI/Studio/EditLayerState.ts @@ -92,14 +92,14 @@ export abstract class EditJsonState { await this.server.update(id, config, this.category) }) this.messages = this.createMessagesStore() - this.register(["credits"], this.osmConnection.userDetails.mapD(u => u.name), false) - this.register(["credits:uid"], this.osmConnection.userDetails.mapD(u => u.uid), false) } public startSavingUpdates(enabled = true) { this.sendingUpdates = enabled + this.register(["credits"], this.osmConnection.userDetails.mapD(u => u.name), false) + this.register(["credits:uid"], this.osmConnection.userDetails.mapD(u => u.uid), false) if (enabled) { this.configuration.ping() } diff --git a/src/UI/Studio/SchemaBasedArray.svelte b/src/UI/Studio/SchemaBasedArray.svelte index 0d436118d..71c249162 100644 --- a/src/UI/Studio/SchemaBasedArray.svelte +++ b/src/UI/Studio/SchemaBasedArray.svelte @@ -92,7 +92,7 @@ {/each} {/if} - {:else if subparts.length === 0} + {:else if subparts.length === 0} {#each $currentValue as value, i}