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/videos/video-watch | |
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/videos/video-watch')
-rw-r--r-- | client/src/app/videos/video-watch/video-report.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/videos/video-watch/video-report.component.ts b/client/src/app/videos/video-watch/video-report.component.ts index a5758060d..d9c83a640 100644 --- a/client/src/app/videos/video-watch/video-report.component.ts +++ b/client/src/app/videos/video-watch/video-report.component.ts | |||
@@ -63,7 +63,7 @@ export class VideoReportComponent extends FormReactive implements OnInit { | |||
63 | this.hide() | 63 | this.hide() |
64 | }, | 64 | }, |
65 | 65 | ||
66 | err => this.notificationsService.error('Error', err) | 66 | err => this.notificationsService.error('Error', err.message) |
67 | ) | 67 | ) |
68 | } | 68 | } |
69 | } | 69 | } |
diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts index 9cedc9c76..f5a47199d 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts | |||
@@ -158,7 +158,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
158 | this.userRating = 'like' | 158 | this.userRating = 'like' |
159 | }, | 159 | }, |
160 | 160 | ||
161 | err => this.notificationsService.error('Error', err) | 161 | err => this.notificationsService.error('Error', err.message) |
162 | ) | 162 | ) |
163 | } | 163 | } |
164 | 164 | ||
@@ -175,7 +175,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
175 | this.userRating = 'dislike' | 175 | this.userRating = 'dislike' |
176 | }, | 176 | }, |
177 | 177 | ||
178 | err => this.notificationsService.error('Error', err) | 178 | err => this.notificationsService.error('Error', err.message) |
179 | ) | 179 | ) |
180 | } | 180 | } |
181 | 181 | ||
@@ -275,7 +275,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
275 | } | 275 | } |
276 | }, | 276 | }, |
277 | 277 | ||
278 | err => this.notificationsService.error('Error', err) | 278 | err => this.notificationsService.error('Error', err.message) |
279 | ) | 279 | ) |
280 | } | 280 | } |
281 | 281 | ||