{#if hash == 'editor'} {:else}
{ if (e.detail.type != "label") (location.hash = `#task/${e.detail.id}`)}} on:closeTask={() => {location.hash = '#'}} />
{/if}