Skip to content

Commit

Permalink
Fixed code to show title on empty line chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
h-kataria committed Feb 12, 2020
1 parent c18cee2 commit 38d5f90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/components/recent-resource.js
Expand Up @@ -32,6 +32,7 @@ function resentResourceController(miqService, $q, $http, chartsMixin, $scope) {
$q.all([resourcesDataPromise]).then(function() {
if (vm.data.recentResources.dataAvailable === false) {
vm.data.dataAvailable = false;
vm.data.config = Object.assign({}, vm.data.recentResources.config);
} else {
vm.data = chartsMixin.processData(vm.data.recentResources, 'dates', vm.data.recentResources.config.label);
}
Expand Down

0 comments on commit 38d5f90

Please sign in to comment.