Fixed empty search input when going from InFile to Vault

This commit is contained in:
Simon Cambier
2022-10-23 09:16:27 +02:00
parent 13cd3a7bd7
commit 62b7c7a45c
3 changed files with 5 additions and 6 deletions

View File

@@ -62,8 +62,6 @@
groupedOffsets = groups.map(group =>
Math.round((group.first()!.offset + group.last()!.offset) / 2)
)
// console.log(groups)
// console.log(groupedOffsets)
}
}
@@ -145,7 +143,7 @@
<InputSearch
on:input="{e => (searchQuery = e.detail)}"
placeholder="Omnisearch - File"
value="{searchQuery}"/>
initialValue="{searchQuery}"/>
<ModalContainer>
{#if groupedOffsets.length && note}