{#if $store.currentNode}
{/if}
{#if !$store.currentNode}
{:else if $store.currentNode.type === 'record'}
{:else}
{/if}