зеркало из https://github.com/mozilla/treeherder.git
Revert "Bug 1220445 - hide automatic classification"
This reverts commit ceeb27c2d0
.
This commit is contained in:
Родитель
de1ab1ef52
Коммит
9bef82addd
|
@ -21,10 +21,6 @@ treeherder.factory('ThBugJobMapModel', [
|
|||
item_list.push(new ThBugJobMapModel(elem));
|
||||
});
|
||||
return item_list;
|
||||
}).then(function(bugJobMapList){
|
||||
return _.filter(bugJobMapList, function(bugJobMap){
|
||||
return bugJobMap.type !== 'autoclassification';
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -24,10 +24,6 @@ treeherder.factory('ThJobClassificationModel', [
|
|||
item_list.push(new ThJobClassificationModel(elem));
|
||||
});
|
||||
return item_list;
|
||||
}).then(function(classificationList){
|
||||
return _.filter(classificationList, function(jobClassification){
|
||||
return jobClassification.failure_classification_id !== 7;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -64,13 +64,6 @@ treeherder.factory('ThJobModel', [
|
|||
return $q.when(next_pages_jobs).then(function(maybe_job_list){
|
||||
return item_list.concat(maybe_job_list);
|
||||
});
|
||||
}).then(function(job_list){
|
||||
return _.map(job_list, function(job){
|
||||
if (job.failure_classification_id === 7) {
|
||||
job.failure_classification_id = 1;
|
||||
}
|
||||
return job;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче