Fix TypeAheadSearch.svelte, Remove Logout
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
let searchValue: string = "";
|
||||
let dirty = false;
|
||||
|
||||
let selectedPath: string = "";
|
||||
let selectedPath: string | null = null;
|
||||
let pathSearchValue: string = "";
|
||||
|
||||
$: availableBranches = $branches.map((branch) => ({
|
||||
@@ -121,7 +121,7 @@
|
||||
<div class="border-b border-b-gray-600 pb-2 flex justify-between">
|
||||
<div>
|
||||
<TypeAheadSearch items={availableBranches} bind:selected={selectedBranch} bind:searchValue />
|
||||
<TypeAheadSearch items={Array.from(pagesMap.keys()).map(value => ({value, name: value}))} bind:selected={selectedPath} bind:searchValue={pathSearchValue} maxItems={Number.MAX_VALUE} />
|
||||
<TypeAheadSearch items={Array.from(pagesMap.keys()).map(value => ({value, name: value}))} bind:selected={selectedPath} bind:searchValue={pathSearchValue} maxItems={Number.MAX_VALUE} leftText={true} />
|
||||
</div>
|
||||
<div>
|
||||
{#if selectedBranch !== "master"}
|
||||
|
||||
Reference in New Issue
Block a user