diff options
Diffstat (limited to 'client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts')
-rw-r--r-- | client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts b/client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts index e8bfbf9ce..f9521b8b5 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts +++ b/client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts | |||
@@ -66,7 +66,9 @@ export class MyVideoChannelUpdateComponent extends MyVideoChannelEdit implements | |||
66 | }) | 66 | }) |
67 | }, | 67 | }, |
68 | 68 | ||
69 | error: err => this.error = err.message | 69 | error: err => { |
70 | this.error = err.message | ||
71 | } | ||
70 | }) | 72 | }) |
71 | }) | 73 | }) |
72 | } | 74 | } |
@@ -96,7 +98,9 @@ export class MyVideoChannelUpdateComponent extends MyVideoChannelEdit implements | |||
96 | this.router.navigate([ '/my-library', 'video-channels' ]) | 98 | this.router.navigate([ '/my-library', 'video-channels' ]) |
97 | }, | 99 | }, |
98 | 100 | ||
99 | error: err => this.error = err.message | 101 | error: err => { |
102 | this.error = err.message | ||
103 | } | ||
100 | }) | 104 | }) |
101 | } | 105 | } |
102 | 106 | ||