aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+my-account/my-account-video-channels/my-account-video-channel-create.component.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-create.component.ts b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-create.component.ts
index 79ac07c93..81608d837 100644
--- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-create.component.ts
+++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-create.component.ts
@@ -63,7 +63,14 @@ export class MyAccountVideoChannelCreateComponent extends MyAccountVideoChannelE
63 this.router.navigate([ '/my-account', 'video-channels' ]) 63 this.router.navigate([ '/my-account', 'video-channels' ])
64 }, 64 },
65 65
66 err => this.error = err.message 66 err => {
67 if (err.status === 409) {
68 this.error = this.i18n('This name already exists on this instance.')
69 return
70 }
71
72 this.error = err.message
73 }
67 ) 74 )
68 } 75 }
69 76