mirror of
https://github.com/modrinth/code.git
synced 2026-07-31 21:26:40 +00:00
fix(app-frontend): clamp current page in searches to the max possible (#3869)
This commit is contained in:
@@ -220,6 +220,7 @@ async function refreshSearch() {
|
||||
}
|
||||
}
|
||||
results.value = rawResults.result
|
||||
currentPage.value = Math.min(pageCount.value, currentPage.value)
|
||||
|
||||
const persistentParams: LocationQuery = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user