mirror of
https://github.com/veops/cmdb.git
synced 2025-08-25 09:49:22 +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 allCITypes = [
|
||||
...cloneRelationData.parentCITypeList,
|
||||
...cloneRelationData.childCITypeList
|
||||
]
|
||||
const allCITypes = _.uniqBy(
|
||||
[
|
||||
...cloneRelationData.parentCITypeList,
|
||||
...cloneRelationData.childCITypeList
|
||||
],
|
||||
'id'
|
||||
)
|
||||
await this.handleSubscribeAttributes(allCITypes)
|
||||
|
||||
const {
|
||||
|
Reference in New Issue
Block a user