Skip to content

Commit

Permalink
fixed moreIsBetter ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianseeger committed Jul 6, 2014
1 parent 2856f3f commit 81d151a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/scripts/filter/metricFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ angular.module('metricsApp')
}

var more = diff > 0;
return (more && metric.moreIsBetter) ? 'label-success' : 'label-danger';
return (more && metric.moreIsBetter || !more && !metric.moreIsBetter) ? 'label-success' : 'label-danger';
};
});

0 comments on commit 81d151a

Please sign in to comment.