{#if object && renderChannel}
{#key object._id} {/key}
{/if} {#if threadId}
closeThreadInSidebarChannel(widget, tab)} on:close />
{/if}