diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-14 17:06:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-14 17:25:36 +0200 |
commit | bfb3a98fac582f104c6d9b8b7242ea2cbb650b91 (patch) | |
tree | 24ead7cbbdc785315c406dfba85a55fe5e235d09 /client/src/app/+admin/friends | |
parent | d5050d1e097e761685fbaafe6e3d4b8b78d48356 (diff) | |
download | PeerTube-bfb3a98fac582f104c6d9b8b7242ea2cbb650b91.tar.gz PeerTube-bfb3a98fac582f104c6d9b8b7242ea2cbb650b91.tar.zst PeerTube-bfb3a98fac582f104c6d9b8b7242ea2cbb650b91.zip |
Remove ng2 file upload module
Unmaintained and we don't need it anymore with httpclient
Diffstat (limited to 'client/src/app/+admin/friends')
-rw-r--r-- | client/src/app/+admin/friends/friend-add/friend-add.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/friends/friend-list/friend-list.component.ts | 6 |
2 files changed, 4 insertions, 4 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 e0b73dfa3..6580e1b88 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) | 101 | err => this.notificationsService.error('Error', err.message) |
102 | ) | 102 | ) |
103 | } | 103 | } |
104 | ) | 104 | ) |
diff --git a/client/src/app/+admin/friends/friend-list/friend-list.component.ts b/client/src/app/+admin/friends/friend-list/friend-list.component.ts index 6a8bd492c..4af39c47e 100644 --- a/client/src/app/+admin/friends/friend-list/friend-list.component.ts +++ b/client/src/app/+admin/friends/friend-list/friend-list.component.ts | |||
@@ -40,7 +40,7 @@ export class FriendListComponent implements OnInit { | |||
40 | this.loadData() | 40 | this.loadData() |
41 | }, | 41 | }, |
42 | 42 | ||
43 | err => this.notificationsService.error('Error', err) | 43 | err => this.notificationsService.error('Error', err.message) |
44 | ) | 44 | ) |
45 | } | 45 | } |
46 | ) | 46 | ) |
@@ -59,7 +59,7 @@ export class FriendListComponent implements OnInit { | |||
59 | this.loadData() | 59 | this.loadData() |
60 | }, | 60 | }, |
61 | 61 | ||
62 | err => this.notificationsService.error('Error', err) | 62 | err => this.notificationsService.error('Error', err.message) |
63 | ) | 63 | ) |
64 | } | 64 | } |
65 | ) | 65 | ) |
@@ -72,7 +72,7 @@ export class FriendListComponent implements OnInit { | |||
72 | this.friends = resultList.data | 72 | this.friends = resultList.data |
73 | }, | 73 | }, |
74 | 74 | ||
75 | err => this.notificationsService.error('Error', err) | 75 | err => this.notificationsService.error('Error', err.message) |
76 | ) | 76 | ) |
77 | } | 77 | } |
78 | } | 78 | } |