Reverted applicationContainer changes

This commit is contained in:
Mustafa Buyukcelebi 2019-12-17 20:47:48 +03:00
parent 10666a0a8e
commit 78f45b96ab

View File

@ -328,6 +328,7 @@ class ApplicationContainer extends Component {
markActivityAsRead(username, activity_id).then(result => { markActivityAsRead(username, activity_id).then(result => {
dispatch(updateUnreadActivityCount(result.unread)); dispatch(updateUnreadActivityCount(result.unread));
});
if (!some(params, isEmpty)) { if (!some(params, isEmpty)) {
navigate({ navigate({
routeName, routeName,
@ -335,7 +336,6 @@ class ApplicationContainer extends Component {
key, key,
}); });
} }
});
} }
}, },
}); });