|
|
@@ -547,7 +547,10 @@ export default {
|
|
|
const project = this.$store.state.workspace.projectList.find(
|
|
|
(item) => item.id === this.$store.state.workspace.currentProjectId,
|
|
|
);
|
|
|
- return str.replaceAll('{projectName}', project.name).replaceAll('{projectId}', project.id);
|
|
|
+ const pipeline = this.pipelines.find((item) => item.id === this.editingPipelineId);
|
|
|
+ return str.replaceAll('{projectName}', project.name)
|
|
|
+ .replaceAll('{projectId}', project.id)
|
|
|
+ .replaceAll('{pipelineName}', this.pipelines.find(pipeline.name));
|
|
|
},
|
|
|
},
|
|
|
};
|