Endpoint telemetry, PC Detail rework and a checked backup/restore path
This commit is contained in:
@@ -187,8 +187,11 @@ onMounted(async () => {
|
||||
])
|
||||
types.value = typesResponse.data.data || []
|
||||
statuses.value = statusResponse.data.data || []
|
||||
// listAll resolves to the ARRAY, not a response: fetchAllPages already
|
||||
// unwrapped every page. Reading .data.data off it throws and takes the
|
||||
// whole parallel load into the catch.
|
||||
locations.value = locResponse || []
|
||||
businessunits.value = buResponse.data.data || []
|
||||
businessunits.value = buResponse || []
|
||||
|
||||
const assetType = (assetTypesResponse.data.data || []).find(a => a.assettype === 'measuring_tool')
|
||||
assettypeid.value = assetType ? assetType.assettypeid : null
|
||||
|
||||
Reference in New Issue
Block a user