Enable searching in all directories

This commit is contained in:
2024-11-14 21:46:42 +01:00
parent e293c875b5
commit 5c4255dbbf
2 changed files with 7 additions and 5 deletions

View File

@@ -260,10 +260,7 @@ onMount(() => {
>
<div class="width_container">
{#if mode === "viewing"}
<!-- Search only works in the user's home directory -->
{#if $nav.path[0] && $nav.path[0].id === "me"}
<SearchBar nav={nav}/>
{/if}
<SearchBar nav={nav}/>
<div class="toolbar">
<button on:click={navigate_back} title="Back">