We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c67b1e commit 155ba67Copy full SHA for 155ba67
1 file changed
cmdb-ui/src/modules/cmdb/views/ci/modules/ciDetailRelation.vue
@@ -132,10 +132,11 @@ export default {
132
}
133
134
const _findCiType = ci_types_list.find((item) => item.id === this.typeId)
135
- const unique_id = _findCiType.show_id || this.attributes().unique_id
136
- const unique_name = _findCiType.show_name || this.attributes().unique
+ const unique_id = _findCiType.show_id || _findCiType.unique_id
137
const _findUnique = this.attrList().find((attr) => attr.id === unique_id)
+ const unique_name = _findUnique?.name
138
const unique_alias = _findUnique?.alias || _findUnique?.name || ''
139
+
140
const nodes = {
141
isRoot: true,
142
id: `Root_${this.typeId}`,
0 commit comments