From b97db4912dacca3cfcf91fc0843e631666a47d1c Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 20 Aug 2018 20:45:54 +0300 Subject: error display --- src/components/notifications/notifications.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/notifications/notifications.js') 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) }, -- cgit v1.2.3-70-g09d2