Move search bar to the file manager

This commit is contained in:
2024-11-14 16:14:58 +01:00
parent 4760f7ae04
commit 0043fe2e9e
7 changed files with 135 additions and 107 deletions

View File

@@ -7,8 +7,6 @@ import FileStats from "./FileStats.svelte";
let dispatch = createEventDispatcher()
export let nav
export let view = "file"
export let details_visible = false
export let edit_window
export let edit_visible = false
@@ -93,13 +91,6 @@ let expand = e => {
</button>
</div>
{#if $nav.path[0] && $nav.path[0].id === "me"}
<button on:click={() => dispatch("search")} class:button_highlight={view === "search"}>
<i class="icon">search</i>
<span>Search</span>
</button>
{/if}
<div class="separator hidden_horizontal"></div>
<button on:click={() => dispatch("download")}>