mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-16 09:04:45 +01:00
Lint
This commit is contained in:
@@ -129,13 +129,13 @@ export async function getMods(mode: string, page: number, search: string) {
|
|||||||
await invoke('list_submissions', {
|
await invoke('list_submissions', {
|
||||||
mode,
|
mode,
|
||||||
page: '' + page,
|
page: '' + page,
|
||||||
search: search
|
search: search,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
const total = resp._aMetadata._nRecordCount
|
const total = resp._aMetadata._nRecordCount
|
||||||
|
|
||||||
if (page > (total / 15)) hadMods = false
|
if (page > total / 15) hadMods = false
|
||||||
|
|
||||||
modList = [...modList, ...resp._aRecords]
|
modList = [...modList, ...resp._aRecords]
|
||||||
page++
|
page++
|
||||||
|
|||||||
Reference in New Issue
Block a user