fix(deploy): pin bcrypt==4.3.0 for passlib compat, fix seed model imports, fix AppLayout TS blur handler
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<input
|
||||
v-model="searchQuery"
|
||||
@focus="showSearch = true"
|
||||
@blur="setTimeout(() => showSearch = false, 200)"
|
||||
@blur="onSearchBlur"
|
||||
@keydown.escape="showSearch = false; searchQuery = ''"
|
||||
type="text"
|
||||
placeholder="Search schools, invoices, tickets…"
|
||||
@@ -96,6 +96,10 @@ watch(searchQuery, (q) => {
|
||||
}, 300)
|
||||
})
|
||||
|
||||
function onSearchBlur() {
|
||||
setTimeout(() => { showSearch.value = false }, 200)
|
||||
}
|
||||
|
||||
function navigate(item: any) {
|
||||
showSearch.value = false
|
||||
searchQuery.value = ''
|
||||
|
||||
Reference in New Issue
Block a user