This commit is contained in:
Thoronium
2023-04-26 19:39:37 -06:00
parent b46a1d1fcf
commit 5600269d7e
2 changed files with 21 additions and 21 deletions

View File

@@ -129,13 +129,13 @@ export async function getMods(mode: string, page: number, search: string) {
await invoke('list_submissions', {
mode,
page: '' + page,
search: search
search: search,
})
)
const total = resp._aMetadata._nRecordCount
if (page > (total / 15)) hadMods = false
if (page > total / 15) hadMods = false
modList = [...modList, ...resp._aRecords]
page++