changes.flushChanges("Pending changes indicator clicked")}
>
{#if $isUploading}
{:else if $pending.length === 1}
|
{:else if $pending.length > 1}
|
{/if}
{#each $errors as error}
|
{/each}
{#if !compact && $pending.length > 0}
{#each $pending as pending}
-
{#if pending.changes !== undefined}
Create {pending.type}/{pending.id}
{JSON.stringify(TagUtils.KVObjtoProperties(pending.tags))}
{:else}
Modify {pending.type}/{pending.id} {JSON.stringify(pending.tags)}
{/if}
{#if pending.type === "way" && pending.changes?.nodes}
{pending.changes.nodes.join(" ")}
{/if}
{/each}
{/if}
{/if}