mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 00:24: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', {
|
||||
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++
|
||||
|
||||
Reference in New Issue
Block a user