Added click to refresh on Home and Notifications
• Added: - click to refresh on Home and Notifications... If click on notifications or home button, it refreshes the data
This commit is contained in:
@@ -114,6 +114,14 @@ export function updateNotificationsQueue(notification, intlMessages, intlLocale,
|
||||
}
|
||||
};
|
||||
|
||||
export function forceDequeueNotifications() {
|
||||
return (dispatch,) => {
|
||||
dispatch({
|
||||
type: NOTIFICATIONS_DEQUEUE,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export function dequeueNotifications() {
|
||||
return (dispatch, getState) => {
|
||||
const queuedNotifications = getState().getIn(['notifications', 'queuedNotifications'], ImmutableList());
|
||||
|
||||
Reference in New Issue
Block a user