feat(notification): Add suboptimal browser exp notification.

This commit is contained in:
hristoterezov
2018-01-03 16:14:17 -06:00
parent 9eff669b0b
commit a357b0cf14
8 changed files with 3078 additions and 2499 deletions

View File

@@ -71,9 +71,7 @@ class NotificationsContainer extends Component {
if (_notifications.length) {
const notification = _notifications[0];
if (!_showNotifications) {
this._onDismissed(notification.uid);
} else if (this._notificationDismissTimeout) {
if (!_showNotifications || this._notificationDismissTimeout) {
// No-op because there should already be a notification that
// is waiting for dismissal.