mirror of
https://github.com/veops/cmdb.git
synced 2025-08-26 00:19:29 +08:00
fix(ui): CI - relation table repeat CIType
This commit is contained in:
@@ -195,10 +195,13 @@ export default {
|
|||||||
|
|
||||||
const cloneRelationData = _.cloneDeep(relationData)
|
const cloneRelationData = _.cloneDeep(relationData)
|
||||||
|
|
||||||
const allCITypes = [
|
const allCITypes = _.uniqBy(
|
||||||
|
[
|
||||||
...cloneRelationData.parentCITypeList,
|
...cloneRelationData.parentCITypeList,
|
||||||
...cloneRelationData.childCITypeList
|
...cloneRelationData.childCITypeList
|
||||||
]
|
],
|
||||||
|
'id'
|
||||||
|
)
|
||||||
await this.handleSubscribeAttributes(allCITypes)
|
await this.handleSubscribeAttributes(allCITypes)
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
Reference in New Issue
Block a user