Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scc-net
netvs
netvs-core
Commits
253d96b5
Commit
253d96b5
authored
Nov 19, 2020
by
Janis Streib
🦉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: supress 401
parent
dda4daf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
frontend/src/App.vue
frontend/src/App.vue
+6
-1
No files found.
frontend/src/App.vue
View file @
253d96b5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment