+
+
+ {#if allowedToEdit}
+
+ {#if showInput}
+
+ {
+ inputValue = "";
+ showInput = false;
+ }}
+ name="cross"
+ styleCursor="pointer" />
+ {:else}
+ (showInput = true)}
+ styleCursor="pointer">
+ {/if}
+
+ {/if}
+
+ {#if allowedToEdit}
+ {#each updatedLabels as label}
+
+ {:else}
+
No labels.
+ {/each}
+ {:else}
+ {#each updatedLabels as label}
+
{label}
+ {:else}
+
No labels.
+ {/each}
+ {/if}
+