Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
5b89897b
Commit
5b89897b
authored
Jan 23, 2018
by
Lukas Burgey
Browse files
Add display of server error message
parent
74588c61
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/user.service.ts
View file @
5b89897b
...
...
@@ -100,6 +100,11 @@ export class UserService {
}
public
updateData
(
data
:
any
)
{
if
(
data
[
'
error
'
])
{
this
.
snackBar
.
open
(
data
[
'
error
'
]);
}
if
(
!
this
.
loggedIn
&&
data
.
logged_in
)
{
this
.
snackBar
.
open
(
'
Logged in
'
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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