Page past the 100-row cap in pickers and batch label sheets
This commit is contained in:
@@ -428,8 +428,9 @@ async function loadVendors() {
|
||||
try {
|
||||
const response = await vendorsApi.list({ perpage: 100 })
|
||||
vendors.value = response.data.data || []
|
||||
const modelResponse = await modelsApi.list({ perpage: 500 })
|
||||
models.value = modelResponse.data.data || []
|
||||
// listAll: the models catalogue is already past the backend's 100-row
|
||||
// cap, so list() left the tail of it unselectable.
|
||||
models.value = await modelsApi.listAll()
|
||||
} catch (err) {
|
||||
console.error('Error loading vendors:', err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user