fixed error not displaying for 500 error.
This commit is contained in:
parent
a196c3551a
commit
13acdc4a00
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ const fetchAndUpdate = ({store, credentials, older = false}) => {
|
||||||
.then((notifications) => {
|
.then((notifications) => {
|
||||||
update({store, notifications, older})
|
update({store, notifications, older})
|
||||||
}, () => store.dispatch('setNotificationsError', { value: true }))
|
}, () => store.dispatch('setNotificationsError', { value: true }))
|
||||||
|
.catch(() => store.dispatch('setNotificationsError', { value: true }))
|
||||||
}
|
}
|
||||||
|
|
||||||
const startFetching = ({credentials, store}) => {
|
const startFetching = ({credentials, store}) => {
|
||||||
|
|
Loading…
Reference in a new issue