fixed error not displaying for 500 error.
This commit is contained in:
parent
a196c3551a
commit
13acdc4a00
@ -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}) => {
|
||||
|
Loading…
Reference in New Issue
Block a user