fixed error not displaying for 500 error.

This commit is contained in:
Henry Jameson 2018-08-22 15:51:03 +03:00
parent a196c3551a
commit 13acdc4a00

View file

@ -25,6 +25,7 @@ const fetchAndUpdate = ({store, credentials, older = false}) => {
.then((notifications) => {
update({store, notifications, older})
}, () => store.dispatch('setNotificationsError', { value: true }))
.catch(() => store.dispatch('setNotificationsError', { value: true }))
}
const startFetching = ({credentials, store}) => {