+ Fix the issue that the pipeline of the job is not the value in db.

This commit is contained in:
dingguodong
2024-05-13 15:26:11 +08:00
parent 1fed7102e5
commit cf2faabcc4
+2
View File
@@ -110,6 +110,8 @@ window.setPipeline = function()
if(result.data.length > 0) pipelines = result.data;
$pipeline.render({items: pipelines});
const pipeline = JSON.parse(job.pipeline).name;
if(repoID == job.repo && pipeline) $pipeline.$.setValue(pipeline);
$('.gitfox-pipeline').removeClass('hidden');
})
}