Commit 253d96b5 authored by Janis Streib's avatar Janis Streib

FIX: supress 401

parent dda4daf6
......@@ -25,7 +25,9 @@
</b-card>
</div>
<b-modal content-class="text-center" centered id="net-suite-error" hide-footer hide-header size="lg">
<h1><font-awesome-icon icon="poo-storm" size="3x"></font-awesome-icon></h1>
<h1>
<font-awesome-icon icon="poo-storm" size="3x"></font-awesome-icon>
</h1>
<h3>Etwas ist schief gelaufen...</h3>
<CopyField class="shadow" variant="danger"
:text="global_error"
......@@ -86,6 +88,9 @@ export default {
window.console.debug('evbus trigger')
window.console.debug(payload)
if ('response' in payload) {
if (payload.response.status === 401) {
return
}
self.global_error = payload.response.data
} else {
self.global_error = payload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment