1
0
forked from rosa/hakurei

cmd/pkgserver: better no results handling

This commit is contained in:
mae
2026-04-18 10:57:04 -05:00
parent da00d149bd
commit 4f73062292

View File

@@ -214,6 +214,10 @@ class State {
}
STATE.maxTotal = res.count!
STATE.updateRange()
if(res.count! < 1) {
alert("no results found!")
exitSearch()
}
})
} else {
getRequest(this.getEntriesPerPage(), this.getEntryIndex(), this.getSortOrder())