{ view = "file"; await tick(); file_preview.state_update(); }} on:loading={e => loading = e.detail} />
{#if view === "file"} {loading = e.detail}} on:open_sibling={e => fs_navigator.open_sibling(e.detail)} on:download={download} /> {:else if view === "search"} {loading = e.detail}} /> {/if}