no error popup on 503
This commit is contained in:
parent
9c62295b87
commit
9b4aa44217
@ -38,7 +38,7 @@ export default function ({ $axios, store, redirect, route }) {
|
||||
|
||||
if (code === 401 && route.path !== '/') {
|
||||
redirect('/')
|
||||
} else if (code !== 401) {
|
||||
} else if (code !== 401 && code !== 503) {
|
||||
store.commit('UPDATE_VARIANT', 'danger')
|
||||
store.commit('UPDATE_SHOW_ERROR_ALERT', true)
|
||||
store.commit('UPDATE_ERROR_ALERT_MESSAGE', error)
|
||||
|
Loading…
Reference in New Issue
Block a user