mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 06:05:15 +00:00
Handle default settings better
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user