aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/users/user-edit/user-add.component.ts2
-rw-r--r--client/src/app/+admin/users/user-edit/user-update.component.ts4
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 8e3e3d53d..64cee43be 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
@@ -80,7 +80,7 @@ export class UserAddComponent extends UserEdit implements OnInit {
80 this.router.navigate([ '/admin/users/list' ]) 80 this.router.navigate([ '/admin/users/list' ])
81 }, 81 },
82 82
83 err => this.error = err 83 err => this.error = err.message
84 ) 84 )
85 } 85 }
86 86
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 bcba78a35..23e44ac1f 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
@@ -69,7 +69,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy {
69 this.userService.getUser(userId).subscribe( 69 this.userService.getUser(userId).subscribe(
70 user => this.onUserFetched(user), 70 user => this.onUserFetched(user),
71 71
72 err => this.error = err 72 err => this.error = err.message
73 ) 73 )
74 }) 74 })
75 } 75 }
@@ -92,7 +92,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy {
92 this.router.navigate([ '/admin/users/list' ]) 92 this.router.navigate([ '/admin/users/list' ])
93 }, 93 },
94 94
95 err => this.error = err 95 err => this.error = err.message
96 ) 96 )
97 } 97 }
98 98