Endpoint telemetry, PC Detail rework and a checked backup/restore path
This commit is contained in:
@@ -591,14 +591,14 @@ onMounted(async () => {
|
||||
|
||||
machineTypes.value = typesRes.data.data || []
|
||||
statuses.value = statusRes.data.data || []
|
||||
vendors.value = vendorRes.data.data || []
|
||||
locations.value = locRes || []
|
||||
models.value = allModels
|
||||
businessunits.value = buRes.data.data || []
|
||||
// listAll resolves to the ARRAY, not a response: fetchAllPages already
|
||||
// unwrapped every page. Reading .data.data off it threw, and the whole
|
||||
// parallel load went to the catch - so every dropdown on this form came up
|
||||
// empty and the machine's own values never loaded.
|
||||
vendors.value = vendorRes || []
|
||||
locations.value = locRes || []
|
||||
models.value = allModels
|
||||
businessunits.value = buRes || []
|
||||
pcs.value = pcsRes || []
|
||||
|
||||
// Load relationship types separately
|
||||
|
||||
Reference in New Issue
Block a user