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

@@ -91,8 +91,9 @@ const pages = computed(() => {
onMounted(async () => {
try {
const response = await printersApi.list({ perpage: 500 })
printers.value = response.data.data || []
// listAll: perpage is clamped to 100, and a batch sheet must cover every
// printer, not the first page of them.
printers.value = await printersApi.listAll()
} catch (error) {
console.error('Error loading printers:', error)
} finally {