Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Fix loading on notifications when empty #43

Merged
merged 1 commit into from
Oct 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/containers/notification/store/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,14 @@ function* getNotifications(isFirstFetch: boolean) {
)
)
}
} else if (status !== Status.SUCCESS) {
yield put(
notificationActions.fetchNotificationSucceeded(
[], // notifications
0, // totalUnread
raymondjacobson marked this conversation as resolved.
Show resolved Hide resolved
false // hasMore
)
)
}
}
} catch (e) {
Expand Down