From 4f90391f54a06d3daf5d8f384f7f54b26baea4a7 Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Tue, 29 May 2018 17:25:09 -0400 Subject: [PATCH] Fix dashboard graph status dropdown value --- .../dashboard/graphs/job-status/job-status-graph.directive.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/home/dashboard/graphs/job-status/job-status-graph.directive.js b/awx/ui/client/src/home/dashboard/graphs/job-status/job-status-graph.directive.js index b97ea561ae..22d5fd95d0 100644 --- a/awx/ui/client/src/home/dashboard/graphs/job-status/job-status-graph.directive.js +++ b/awx/ui/client/src/home/dashboard/graphs/job-status/job-status-graph.directive.js @@ -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; }); }