no error popup on 503

This commit is contained in:
jb-alvarado 2022-07-07 21:14:28 +02:00
parent 9c62295b87
commit 9b4aa44217

View File

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