diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-22 11:35:00 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-22 11:35:00 +0100 |
commit | f91b6fa9e15029f23be7be3b796eca122e5b5588 (patch) | |
tree | d2cbfbc057a4b6ac5c36c9a1673b939b7e0313a9 /app/assets/javascripts/components/actions | |
parent | 80e02b90e4210b0f4982be6a8e817900143374a5 (diff) | |
parent | 3caf0cfb03841bbd646591ca9bc536ee7d9be918 (diff) |
Merge branch 'master' into development
Diffstat (limited to 'app/assets/javascripts/components/actions')
-rw-r--r-- | app/assets/javascripts/components/actions/notifications.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/actions/notifications.jsx b/app/assets/javascripts/components/actions/notifications.jsx index a03f88af1..6a8b1b05b 100644 --- a/app/assets/javascripts/components/actions/notifications.jsx +++ b/app/assets/javascripts/components/actions/notifications.jsx @@ -76,7 +76,7 @@ export function refreshNotificationsSuccess(notifications, next) { type: NOTIFICATIONS_REFRESH_SUCCESS, notifications, accounts: notifications.map(item => item.account), - statuses: notifications.map(item => item.status), + statuses: notifications.map(item => item.status).filter(status => !!status), next }; }; @@ -120,7 +120,7 @@ export function expandNotificationsSuccess(notifications, next) { type: NOTIFICATIONS_EXPAND_SUCCESS, notifications, accounts: notifications.map(item => item.account), - statuses: notifications.map(item => item.status), + statuses: notifications.map(item => item.status).filter(status => !!status), next }; }; |