Page past the 100-row cap in pickers and batch label sheets

This commit is contained in:
2026-08-17 14:17:28 -04:00
parent 7df79e50d9
commit ece0e15f03
12 changed files with 133 additions and 35 deletions

View File

@@ -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)
}