Handle default settings better

This commit is contained in:
John Furrow
2016-06-01 22:12:43 -07:00
parent 15130809f8
commit ca01c3869e
18 changed files with 144 additions and 212 deletions

View File

@@ -20,7 +20,7 @@ export default class Notification extends React.Component {
icon = <CircleExclamationIcon />;
}
if (this.props.count !== 1) {
if (!!this.props.accumulation && this.props.count !== 1) {
countText = (
<span className="notification__count">
{this.props.count}