Fix dashboard graph status dropdown value

This commit is contained in:
Marliana Lara 2018-05-29 17:25:09 -04:00
parent a3aad31be3
commit 4f90391f54
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE

View File

@ -30,6 +30,7 @@ function JobStatusGraph($window, adjustGraphSize, templateUrl, i18n, moment, gra
scope.period="month";
scope.jobType="all";
scope.status="both";
scope.$watch('data', function(value) {
if (value) {
@ -43,7 +44,7 @@ function JobStatusGraph($window, adjustGraphSize, templateUrl, i18n, moment, gra
scope.data = data;
scope.period = period;
scope.jobType = jobType;
scope.status = status;
scope.status = Object.is(status, undefined) ? scope.status : status;
});
}