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 | |
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')
4 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/+admin/friends/friend-add/friend-add.component.ts b/client/src/app/+admin/friends/friend-add/friend-add.component.ts index 02543d393..e0b73dfa3 100644 --- a/client/src/app/+admin/friends/friend-add/friend-add.component.ts +++ b/client/src/app/+admin/friends/friend-add/friend-add.component.ts | |||
@@ -98,7 +98,7 @@ export class FriendAddComponent implements OnInit { | |||
98 | setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000) | 98 | setTimeout(() => this.router.navigate([ '/admin/friends/list' ]), 1000) |
99 | }, | 99 | }, |
100 | 100 | ||
101 | err => this.notificationsService.error('Error', err.text) | 101 | err => this.notificationsService.error('Error', err) |
102 | ) | 102 | ) |
103 | } | 103 | } |
104 | ) | 104 | ) |
diff --git a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts index 4e3fabc64..1edeb31fe 100644 --- a/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts +++ b/client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts | |||
@@ -57,7 +57,7 @@ export class RequestSchedulersStatsComponent implements OnInit, OnDestroy { | |||
57 | this.requestService.getStats().subscribe( | 57 | this.requestService.getStats().subscribe( |
58 | stats => this.stats = stats, | 58 | stats => this.stats = stats, |
59 | 59 | ||
60 | err => this.notificationsService.error('Error', err.text) | 60 | err => this.notificationsService.error('Error', err) |
61 | ) | 61 | ) |
62 | } | 62 | } |
63 | 63 | ||
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 | ||