Skip to content

Commit

Permalink
fix(graphs): set display=true by default in the graph widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Sep 8, 2015
1 parent fcc2279 commit 9ed332f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scripts/opennms/services/Resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
link: function($scope, element, attrs) {
$scope.width = getWidth();
$scope.height = getHeight();
if ($scope.display === undefined) {
$scope.display = true;
}

var minDate = moment().subtract($injector.get('default-graph-min-range'), 'milliseconds').toDate();
$scope.editDate = function(type) {
Expand Down

0 comments on commit 9ed332f

Please sign in to comment.