Commit 5b89897b authored by Lukas Burgey's avatar Lukas Burgey

Add display of server error message

parent 74588c61
......@@ -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');
}
......
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