Skip to content

Commit

Permalink
feat:新建/编辑流水线时支持调试流水线 #8164 修复构建历史区分源材料分支和触发分支搜索
Browse files Browse the repository at this point in the history
1. 构建历史支持源材料和触发材料搜索
2. 触发分支和源材料分支支持下来搜索
  • Loading branch information
mingshewhe committed Aug 5, 2024
1 parent fdd6614 commit 6c1d317
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,10 @@ class PipelineRuntimeService @Autowired constructor(
materialObjList.addAll(it.material!!)
}
}
val aliasNames = if (aliasList.isNullOrEmpty()) {
materialObjList.map { it.aliasName }
} else {
val aliasNames = if (!aliasList.isNullOrEmpty() && aliasList.first().isNotBlank()) {
aliasList
} else {
materialObjList.map { it.aliasName }
}

val result = mutableListOf<String>()
Expand Down

0 comments on commit 6c1d317

Please sign in to comment.