Fix displaying graphs with no content

This commit is contained in:
Joe Fiorini
2015-01-28 14:10:31 -05:00
parent 6e2c9f5eda
commit 4fc86e30ea
3 changed files with 19 additions and 16 deletions

View File

@@ -96,9 +96,6 @@ function Home($scope, $compile, $routeParams, $rootScope, $location, $log, Wait,
$scope.graphData = graphData;
if ($rootScope.user_is_superuser !== true) {
$('#dash-host-count-graph').remove(); //replaceWith("<div id='dash-host-count-graph' class='left-side col-sm-12 col-xs-12'></div>");
}
DashboardJobs({
scope: $scope,
target: 'dash-jobs-list',