|
|
@@ -478,10 +478,11 @@ export default {
|
|
|
}
|
|
|
case 'delete': {
|
|
|
this.loading = true;
|
|
|
- PipelineAPI.deletePipeline({
|
|
|
+ await PipelineAPI.deletePipeline({
|
|
|
projectId: this.$store.state.workspace.currentProjectId,
|
|
|
pipelineId: id,
|
|
|
});
|
|
|
+ this.pipelines = await PipelineAPI.getPipelinesByProjectId(this.$store.state.workspace.currentProjectId);
|
|
|
this.loading = false;
|
|
|
break;
|
|
|
}
|