|
|
@@ -397,6 +397,9 @@ export default {
|
|
|
configJson: JSON.stringify(this.pipelineConfig),
|
|
|
});
|
|
|
this.showPipelineEditModal = false;
|
|
|
+ this.loading = true;
|
|
|
+ this.pipelines = await PipelineAPI.getPipelinesByProjectId(this.$store.state.workspace.currentProjectId);
|
|
|
+ this.loading = false;
|
|
|
},
|
|
|
async handlePipelineCreateConfirm() {
|
|
|
this.$refs.createPipelineForm.validate(async (valid) => {
|
|
|
@@ -410,6 +413,10 @@ export default {
|
|
|
this.showPipelineCreateModal = false;
|
|
|
}
|
|
|
});
|
|
|
+ this.confirmLoading = false;
|
|
|
+ this.loading = true;
|
|
|
+ this.pipelines = await PipelineAPI.getPipelinesByProjectId(this.$store.state.workspace.currentProjectId);
|
|
|
+ this.loading = false;
|
|
|
},
|
|
|
open(url, target) {
|
|
|
window.open(url, target);
|