diff --git a/src/frontend/devops-pipeline/src/components/PipelineEditTabs/components/pipeline-version.vue b/src/frontend/devops-pipeline/src/components/PipelineEditTabs/components/pipeline-version.vue
index 4b31080ba22..4e90c6512e2 100644
--- a/src/frontend/devops-pipeline/src/components/PipelineEditTabs/components/pipeline-version.vue
+++ b/src/frontend/devops-pipeline/src/components/PipelineEditTabs/components/pipeline-version.vue
@@ -38,30 +38,30 @@
{{ param.id }}
- ({{ isBuildNo(param) ? param.desc : $t(param.desc) }})
+ ({{ param.isBuildNo ? param.desc : $t(param.desc) }})
- {{ $t(tip) }}
+ {{ tip }}
-
+
{{ `${$t('buildNoBaseline.baselineValue')}${renderBuildNo.buildNo}(${getLabelByBuildType(renderBuildNo.buildNoType)})` }}
- {{ $t(tip) }}
+ {{ tip }}
@@ -347,7 +347,8 @@
...this.versions,
{
id: 'BK_CI_BUILD_NO',
- desc: this.$t('buildNo')
+ desc: this.$t('buildNo'),
+ isBuildNo: true
}
]
},
@@ -371,9 +372,6 @@
},
resetBuildNo () {
return this.buildNo.buildNo + 1
- },
- isBuildNo () {
- return (param) => param.id === 'BK_CI_BUILD_NO'
}
},
watch: {