Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netvs-core
Commits
cadd708c
Commit
cadd708c
authored
Jan 23, 2020
by
gj4210
👽
Browse files
UPD: Error messages show up correctly
parent
34eee5d9
Pipeline
#64772
passed with stages
in 5 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/netdb/tokens.vue
View file @
cadd708c
...
...
@@ -459,8 +459,8 @@
}).
then
(()
=>
{
this
.
$bvModal
.
hide
(
'
modal-create-account
'
)
this
.
fetchData
()
}).
catch
(
error
=>
{
//TODO : return error message instead of code
this
.
modal_alert_content
=
error
.
m
es
sage
}).
catch
(
error
=>
{
this
.
modal_alert_content
=
error
.
r
es
ponse
.
data
.
error
.
type
.
text_descr
this
.
show_modal_alert
=
true
})
},
...
...
@@ -474,7 +474,7 @@
this
.
$bvModal
.
hide
(
'
modal-edit-account
'
)
this
.
fetchData
()
}).
catch
(
error
=>
{
this
.
modal_alert_content
=
error
.
m
es
sage
this
.
modal_alert_content
=
error
.
r
es
ponse
.
data
.
error
.
type
.
text_descr
this
.
show_modal_alert
=
true
})
},
...
...
@@ -485,7 +485,7 @@
}).
then
(()
=>
{
this
.
$bvModal
.
hide
(
'
modal-edit-account
'
)
}).
catch
(
error
=>
{
this
.
modal_alert_content
=
error
.
m
es
sage
this
.
modal_alert_content
=
error
.
r
es
ponse
.
data
.
error
.
type
.
text_descr
this
.
show_modal_alert
=
true
})
},
...
...
@@ -500,7 +500,7 @@
this
.
$bvModal
.
show
(
'
modal-token
'
)
this
.
fetchData
()
}).
catch
(
error
=>
{
this
.
modal_alert_content
=
error
.
m
es
sage
this
.
modal_alert_content
=
error
.
r
es
ponse
.
data
.
error
.
type
.
text_descr
this
.
show_modal_alert
=
true
})
},
...
...
@@ -514,7 +514,7 @@
this
.
$bvModal
.
hide
(
'
modal-edit-token
'
)
this
.
fetchData
()
}).
catch
(
error
=>
{
this
.
modal_alert_content
=
error
.
m
es
sage
this
.
modal_alert_content
=
error
.
r
es
ponse
.
data
.
error
.
type
.
text_descr
this
.
show_modal_alert
=
true
})
},
...
...
@@ -525,7 +525,7 @@
this
.
$bvModal
.
hide
(
'
modal-edit-token
'
)
this
.
fetchData
()
}).
catch
(
error
=>
{
this
.
modal_alert_content
=
error
.
m
es
sage
this
.
modal_alert_content
=
error
.
r
es
ponse
.
data
.
error
.
type
.
text_descr
this
.
show_modal_alert
=
true
})
},
...
...
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