mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
fix(fe): remove failed builds from availble from deploy list
This commit is contained in:
parent
f04f1d8164
commit
b15404fcb8
@ -126,7 +126,7 @@ export default {
|
||||
keys: 'get',
|
||||
url: `/api/project/${this.projectId}/templates/${this.template.build_template_id}/tasks`,
|
||||
responseType: 'json',
|
||||
})).data.filter((task) => task.version != null) : [];
|
||||
})).data.filter((task) => task.version != null && task.status === 'success') : [];
|
||||
|
||||
if (this.buildTasks.length > 0) {
|
||||
this.item.build_task_id = this.build_task ? this.build_task.id : this.buildTasks[0].id;
|
||||
|
Loading…
Reference in New Issue
Block a user