{#if template !== undefined} dispatch('close')} > {template.title} {#if isEditing} {:else} {/if} {#if isEditing} {#key description} {/key} { descriptionBox.attach() }} > {:else} {title} {#if isDescriptionEmpty} {:else} {/if} {#key template._id && currentTeam !== undefined} {#if currentTeam !== undefined} {/if} {/key} {/if} ID { ev.stopPropagation() const loc = getCurrentLocation() loc.path[2] = settingId loc.path[3] = 'setting' loc.path[4] = 'classes' loc.path.length = 5 loc.query = { _class } loc.fragment = undefined navigate(loc) }} /> {#if template && currentTeam} {/if} {/if}