diff --git a/plugins/computers/frontend/views/PCTypesList.vue b/plugins/computers/frontend/views/PCTypesList.vue index 5afef7e4..b21e6ccc 100644 --- a/plugins/computers/frontend/views/PCTypesList.vue +++ b/plugins/computers/frontend/views/PCTypesList.vue @@ -107,8 +107,9 @@ onMounted(() => loadData()) async function loadData() { loading.value = true try { - const response = await computersApi.types.listAll({ active: false }) - pcTypes.value = response.data.data || [] + // listAll() pages past the server's 100-row cap and returns the ROWS, not + // an axios response - there is no .data to unwrap. + pcTypes.value = await computersApi.types.listAll({ active: false }) } catch (err) { console.error('Error loading PC types:', err) } finally {