aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-08-20 20:45:54 +0300
committerHenry Jameson <me@hjkos.com>2018-08-20 20:45:54 +0300
commitb97db4912dacca3cfcf91fc0843e631666a47d1c (patch)
tree90152e566d0593d21136c85b8c59d99e70eb63fb /src/components/notifications/notifications.js
parentf9b0a959695359f6159c5e1507609aba56a34d8d (diff)
error display
Diffstat (limited to 'src/components/notifications/notifications.js')
-rw-r--r--src/components/notifications/notifications.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index 55a9b0ab..b24250b0 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -14,6 +14,9 @@ const Notifications = {
notifications () {
return this.$store.state.statuses.notifications.data
},
+ error () {
+ return this.$store.state.statuses.notifications.error
+ },
unseenNotifications () {
return filter(this.notifications, ({seen}) => !seen)
},