diff --git a/frontend/src/api/index.js b/frontend/src/api/index.js index 5dad473..d570ce9 100644 --- a/frontend/src/api/index.js +++ b/frontend/src/api/index.js @@ -176,10 +176,10 @@ export const computersApi = { // Relationship Types API export const relationshipTypesApi = { list() { - return api.get('/machines/relationshiptypes') + return api.get('/assets/relationshiptypes') }, create(data) { - return api.post('/machines/relationshiptypes', data) + return api.post('/assets/relationshiptypes', data) } } diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue index ae70c06..d0821c0 100644 --- a/frontend/src/views/Dashboard.vue +++ b/frontend/src/views/Dashboard.vue @@ -65,18 +65,18 @@ - - + + - - - - - + + + + +
NameCategoryAsset # TypeStatus Business Unit
{{ machine.machinenumber || machine.hostname || machine.alias || '-' }}{{ machine.category || '-' }}{{ machine.machinetype || '-' }}{{ machine.businessunit || '-' }}
{{ machine.assetnumber || machine.name || '-' }}{{ machine.assettypename || '-' }}{{ machine.statusname || '-' }}{{ machine.businessunitname || '-' }}
@@ -93,7 +93,7 @@