diff options
Diffstat (limited to 'client/src/app/+admin/users')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-add.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-update.component.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-add.component.ts b/client/src/app/+admin/users/user-edit/user-add.component.ts index 40f649cff..5dc069104 100644 --- a/client/src/app/+admin/users/user-edit/user-add.component.ts +++ b/client/src/app/+admin/users/user-edit/user-add.component.ts | |||
@@ -73,7 +73,7 @@ export class UserAddComponent extends UserEdit implements OnInit { | |||
73 | this.router.navigate([ '/admin/users/list' ]) | 73 | this.router.navigate([ '/admin/users/list' ]) |
74 | }, | 74 | }, |
75 | 75 | ||
76 | err => this.error = err.text | 76 | err => this.error = err |
77 | ) | 77 | ) |
78 | } | 78 | } |
79 | 79 | ||
diff --git a/client/src/app/+admin/users/user-edit/user-update.component.ts b/client/src/app/+admin/users/user-edit/user-update.component.ts index dbac5f974..0966981c0 100644 --- a/client/src/app/+admin/users/user-edit/user-update.component.ts +++ b/client/src/app/+admin/users/user-edit/user-update.component.ts | |||
@@ -59,7 +59,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
59 | this.userService.getUser(userId).subscribe( | 59 | this.userService.getUser(userId).subscribe( |
60 | user => this.onUserFetched(user), | 60 | user => this.onUserFetched(user), |
61 | 61 | ||
62 | err => this.error = err.text | 62 | err => this.error = err |
63 | ) | 63 | ) |
64 | }) | 64 | }) |
65 | } | 65 | } |
@@ -82,7 +82,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
82 | this.router.navigate([ '/admin/users/list' ]) | 82 | this.router.navigate([ '/admin/users/list' ]) |
83 | }, | 83 | }, |
84 | 84 | ||
85 | err => this.error = err.text | 85 | err => this.error = err |
86 | ) | 86 | ) |
87 | } | 87 | } |
88 | 88 | ||