Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#11471 from JamiKX1/master
Browse files Browse the repository at this point in the history
bug: 质量红线生效范围选择模板保存后,再点开查看数据没有正确展示 TencentBlueKing#11470
  • Loading branch information
bkci-bot authored Feb 18, 2025
2 parents 2c6dc47 + 736ae2c commit 4fd3b24
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ class QualityRuleService @Autowired constructor(
} else {
mapOf()
}
val templateRange = templateMap?.map { UserQualityRule.RangeItem(it.key, it.value.name) } ?: listOf()
val templateRange = templateMap?.map {
UserQualityRule.RangeItem(it.value.templateId, it.value.name)
} ?: listOf()

// 获取模板对应的流水线总数
val templatePipelineCount = client.get(ServiceTemplateInstanceResource::class)
Expand Down

0 comments on commit 4fd3b24

Please sign in to comment.