error display

This commit is contained in:
Henry Jameson 2018-08-20 20:45:54 +03:00
parent f9b0a95969
commit b97db4912d
4 changed files with 28 additions and 2 deletions

View file

@ -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)
},