diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-14 11:58:25 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-14 11:58:25 +0200 |
commit | 03b40f24878e4ceef19c9a8a7539f59061f31c84 (patch) | |
tree | 41fad6ed28c42c2a3790f036d9c86488f10bc433 /client/src/app/+admin/users/user-edit | |
parent | d592e0a9b2931c7c9cbedb27fb8efc9aaacad9bb (diff) | |
download | PeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.tar.gz PeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.tar.zst PeerTube-03b40f24878e4ceef19c9a8a7539f59061f31c84.zip |
err.text -> err
Diffstat (limited to 'client/src/app/+admin/users/user-edit')
-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 | ||