|
|
@@ -352,7 +352,16 @@ export default {
|
|
|
projectId: this.$store.state.workspace.currentProjectId,
|
|
|
pipelineId: id,
|
|
|
});
|
|
|
- this.productions = await PipelineAPI.getDeploymentsByProjectId(this.$store.state.workspace.currentProjectId);
|
|
|
+
|
|
|
+ PipelineAPI.getDeploymentsByProjectId(this.$store.state.workspace.currentProjectId)
|
|
|
+ .then(
|
|
|
+ (res) => {
|
|
|
+ this.productions = res;
|
|
|
+ },
|
|
|
+ );
|
|
|
+ this.loading = true;
|
|
|
+ this.pipelines = await PipelineAPI.getPipelinesByProjectId(this.$store.state.workspace.currentProjectId);
|
|
|
+ this.loading = false;
|
|
|
break;
|
|
|
}
|
|
|
case 'detail': {
|