mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
update example
This commit is contained in:
@@ -42,6 +42,7 @@ export default class Notification extends React.Component {
|
||||
}
|
||||
|
||||
render () {
|
||||
if (!this.props.notifications) return null
|
||||
const notificationsToRender = this.props.notifications.filter(n => !('isRead' in n && n.isRead))
|
||||
if (notificationsToRender.length > 0) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user