{#if profile.current?.jwt} {#if !commenting} {#snippet action()}
{/snippet}
{:else} { tree.unshift({ children: [], depth: 1, expanded: true, comment_view: comment.comment_view, }) }} onfocus={() => (commenting = true)} tools={commenting} preview={commenting} placeholder={commenting ? undefined : $t('routes.post.addComment')} rows={commenting ? 7 : 1} oncancel={() => (commenting = false)} /> {/if} {/if} {#if commenting || !profile.current.jwt}
{/if} {#if virtualize} {:else}
{/if}