diff options
Diffstat (limited to 'client/src/app/admin/users/user-add/user-add.component.ts')
-rw-r--r-- | client/src/app/admin/users/user-add/user-add.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/admin/users/user-add/user-add.component.ts b/client/src/app/admin/users/user-add/user-add.component.ts index b7efd3a80..8dd98cc5c 100644 --- a/client/src/app/admin/users/user-add/user-add.component.ts +++ b/client/src/app/admin/users/user-add/user-add.component.ts | |||
@@ -31,7 +31,7 @@ export class UserAddComponent implements OnInit { | |||
31 | this.userService.addUser(this.username, this.password).subscribe( | 31 | this.userService.addUser(this.username, this.password).subscribe( |
32 | ok => this.router.navigate([ '/admin/users/list' ]), | 32 | ok => this.router.navigate([ '/admin/users/list' ]), |
33 | 33 | ||
34 | err => this.error = err | 34 | err => this.error = err.text |
35 | ); | 35 | ); |
36 | } | 36 | } |
37 | } | 37 | } |