Skip to content

Commit 64cb229

Browse files
committed
Merge pull request #143 from spadgett/utilization-recalc-available
Update utilization chart available value when used or total changes
2 parents 395ffcc + 6b82d4a commit 64cb229

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/angular-patternfly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ angular.module('patternfly.charts').directive('pfUtilizationChart', function ()
19781978
scope.currentText = 'Available';
19791979
}
19801980
};
1981-
scope.$watch('centerLabel', function () {
1981+
scope.$watchGroup(['centerLabel', 'chartData.used', 'chartData.available', 'chartData.total'], function () {
19821982
setupCurrentValues();
19831983
});
19841984
}

0 commit comments

Comments
 (0)