X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bmy-library%2F%2Bmy-video-channels%2Fmy-video-channel-update.component.ts;fp=client%2Fsrc%2Fapp%2F%2Bmy-account%2F%2Bmy-account-video-channels%2Fmy-account-video-channel-update.component.ts;h=c6cb5ade651b4273d8110491514171dd228a53ce;hb=17119e4a546522468878cf115558b17949ab50d0;hp=01659b8daddd0251d4f326f3c87533daaf0ebea8;hpb=b4bc269e5517849b5b89052f0c1a2c01b6f65089;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+my-account/+my-account-video-channels/my-account-video-channel-update.component.ts b/client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts similarity index 89% rename from client/src/app/+my-account/+my-account-video-channels/my-account-video-channel-update.component.ts rename to client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts index 01659b8da..c6cb5ade6 100644 --- a/client/src/app/+my-account/+my-account-video-channels/my-account-video-channel-update.component.ts +++ b/client/src/app/+my-library/+my-video-channels/my-video-channel-update.component.ts @@ -10,14 +10,14 @@ import { import { FormValidatorService } from '@app/shared/shared-forms' import { VideoChannel, VideoChannelService } from '@app/shared/shared-main' import { ServerConfig, VideoChannelUpdate } from '@shared/models' -import { MyAccountVideoChannelEdit } from './my-account-video-channel-edit' +import { MyVideoChannelEdit } from './my-video-channel-edit' @Component({ - selector: 'my-account-video-channel-update', - templateUrl: './my-account-video-channel-edit.component.html', - styleUrls: [ './my-account-video-channel-edit.component.scss' ] + selector: 'my-video-channel-update', + templateUrl: './my-video-channel-edit.component.html', + styleUrls: [ './my-video-channel-edit.component.scss' ] }) -export class MyAccountVideoChannelUpdateComponent extends MyAccountVideoChannelEdit implements OnInit, OnDestroy { +export class MyVideoChannelUpdateComponent extends MyVideoChannelEdit implements OnInit, OnDestroy { error: string videoChannelToUpdate: VideoChannel @@ -91,7 +91,7 @@ export class MyAccountVideoChannelUpdateComponent extends MyAccountVideoChannelE this.notifier.success($localize`Video channel ${videoChannelUpdate.displayName} updated.`) - this.router.navigate([ '/my-account', 'video-channels' ]) + this.router.navigate([ '/my-library', 'video-channels' ]) }, err => this.error = err.message