diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-21 22:07:18 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-21 22:07:18 +0200 |
commit | e46abc71cad590c2113247d41feca80d27a557b0 (patch) | |
tree | 7c7947aa82231a1d28fd2240a689ca057550ea1d /app/assets/javascripts/components/actions | |
parent | 4bec613897d8835bb78202c7a36691b654f14967 (diff) |
Fix notifications in UI, added new API for fetching account relationships
Diffstat (limited to 'app/assets/javascripts/components/actions')
-rw-r--r-- | app/assets/javascripts/components/actions/notifications.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/actions/notifications.jsx b/app/assets/javascripts/components/actions/notifications.jsx index cf1e50a69..f19a356c2 100644 --- a/app/assets/javascripts/components/actions/notifications.jsx +++ b/app/assets/javascripts/components/actions/notifications.jsx @@ -1,4 +1,5 @@ export const NOTIFICATION_DISMISS = 'NOTIFICATION_DISMISS'; +export const NOTIFICATION_CLEAR = 'NOTIFICATION_CLEAR'; export function dismissNotification(notification) { return { @@ -6,3 +7,9 @@ export function dismissNotification(notification) { notification: notification }; }; + +export function clearNotifications() { + return { + type: NOTIFICATION_CLEAR + }; +}; |