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
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