mirror of
https://github.com/veops/cmdb.git
synced 2025-08-26 01:29:31 +08:00
feat(ui): CI - hide groups without attr
This commit is contained in:
@@ -296,7 +296,7 @@ export default {
|
||||
getAttributes() {
|
||||
getCITypeGroupById(this.typeId, { need_other: 1 })
|
||||
.then((res) => {
|
||||
this.attributeGroups = res
|
||||
this.attributeGroups = (res || []).filter((group) => group?.attributes?.length)
|
||||
|
||||
this.handleReferenceAttr()
|
||||
})
|
||||
|
Reference in New Issue
Block a user