toggleNotification -> markNotificationsRead

This commit is contained in:
Lachlan Kermode
2018-12-05 11:27:33 +00:00
parent 3d09eb4543
commit eeb242ef87
4 changed files with 8 additions and 23 deletions

View File

@@ -123,9 +123,7 @@ class Dashboard extends React.Component {
<Notification
isNotification={this.props.ui.flags.isNotification}
notifications={this.props.domain.notifications}
onToggle={() => {
this.props.actions.toggleNotifications();
}}
onToggle={this.props.actions.markNotificationsRead}
/>
<LoadingOverlay
ui={this.props.ui.flags.isFetchingDomain}