mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-20 22:11:16 -04:00
[web] Fix for the Spotify search
This commit is contained in:
parent
5f2785171c
commit
fc24c2279f
File diff suppressed because one or more lines are too long
@ -116,7 +116,8 @@ export default {
|
|||||||
const [next] = Object.values(data)
|
const [next] = Object.values(data)
|
||||||
items.items.push(...next.items)
|
items.items.push(...next.items)
|
||||||
this.parameters.offset += next.items.length
|
this.parameters.offset += next.items.length
|
||||||
loaded(Number(next.next && next.limit), PAGE_SIZE_EXPANDED)
|
const remaining = Number(next.next && 1000 - this.parameters.offset)
|
||||||
|
loaded(remaining, PAGE_SIZE_EXPANDED)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user