Skip to content

Commit

Permalink
Merge 3340137 into de47a62
Browse files Browse the repository at this point in the history
  • Loading branch information
Orlando Hohmeier committed Jan 22, 2016
2 parents de47a62 + 3340137 commit 2d2ebc3
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 142 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- \#3054 - Empty - non set- application attributes are accidentaly submited
by the UI
- \#3064 - Labels dropdown menu not showing up
- \#3063 - After scaling a healthy app to 0, it appears to be Infinity%
overcapacity

## 0.15.0 - 2016-01-20
### Added
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/AppHealthDetailComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var AppHealthDetailComponent = React.createClass({

renderItem: function (state) {
var health = this.getHealth(state);
var totalInstances = this.props.model.instances;
var totalInstances = this.props.model.instances || 1;
var instances = health.quantity;
var percentage = Math.round((instances / totalInstances) * 100);
var label = healthStatusLabels[state];
Expand Down
Loading

0 comments on commit 2d2ebc3

Please sign in to comment.