diff options
5 files changed, 6 insertions, 6 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 | ||
diff --git a/client/src/app/account/account-change-password/account-change-password.component.ts b/client/src/app/account/account-change-password/account-change-password.component.ts index dba141296..69edec54b 100644 --- a/client/src/app/account/account-change-password/account-change-password.component.ts +++ b/client/src/app/account/account-change-password/account-change-password.component.ts | |||
@@ -59,7 +59,7 @@ export class AccountChangePasswordComponent extends FormReactive implements OnIn | |||
59 | this.userService.changePassword(newPassword).subscribe( | 59 | this.userService.changePassword(newPassword).subscribe( |
60 | () => this.notificationsService.success('Success', 'Password updated.'), | 60 | () => this.notificationsService.success('Success', 'Password updated.'), |
61 | 61 | ||
62 | err => this.error = err | 62 | err => this.error = err.message |
63 | ) | 63 | ) |
64 | } | 64 | } |
65 | } | 65 | } |
diff --git a/client/src/app/account/account-details/account-details.component.ts b/client/src/app/account/account-details/account-details.component.ts index 78e365a62..d7a6e6871 100644 --- a/client/src/app/account/account-details/account-details.component.ts +++ b/client/src/app/account/account-details/account-details.component.ts | |||
@@ -62,7 +62,7 @@ export class AccountDetailsComponent extends FormReactive implements OnInit { | |||
62 | this.authService.refreshUserInformation() | 62 | this.authService.refreshUserInformation() |
63 | }, | 63 | }, |
64 | 64 | ||
65 | err => this.error = err | 65 | err => this.error = err.message |
66 | ) | 66 | ) |
67 | } | 67 | } |
68 | } | 68 | } |
diff --git a/client/src/app/signup/signup.component.ts b/client/src/app/signup/signup.component.ts index 65a2d44e3..28e1ed0a8 100644 --- a/client/src/app/signup/signup.component.ts +++ b/client/src/app/signup/signup.component.ts | |||
@@ -67,7 +67,7 @@ export class SignupComponent extends FormReactive implements OnInit { | |||
67 | this.router.navigate([ '/videos/list' ]) | 67 | this.router.navigate([ '/videos/list' ]) |
68 | }, | 68 | }, |
69 | 69 | ||
70 | err => this.error = err | 70 | err => this.error = err.message |
71 | ) | 71 | ) |
72 | } | 72 | } |
73 | } | 73 | } |