mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Merge pull request #1984 from marshmalien/fix/1847-dashboard-graph-dropdown
Fix dashboard graph VIEW dropdown filter
This commit is contained in:
commit
47406b0832
@ -30,6 +30,7 @@ function JobStatusGraph($window, adjustGraphSize, templateUrl, i18n, moment, gra
|
|||||||
|
|
||||||
scope.period="month";
|
scope.period="month";
|
||||||
scope.jobType="all";
|
scope.jobType="all";
|
||||||
|
scope.status="both";
|
||||||
|
|
||||||
scope.$watch('data', function(value) {
|
scope.$watch('data', function(value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
@ -43,7 +44,7 @@ function JobStatusGraph($window, adjustGraphSize, templateUrl, i18n, moment, gra
|
|||||||
scope.data = data;
|
scope.data = data;
|
||||||
scope.period = period;
|
scope.period = period;
|
||||||
scope.jobType = jobType;
|
scope.jobType = jobType;
|
||||||
scope.status = status;
|
scope.status = Object.is(status, undefined) ? scope.status : status;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user