X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-share-modal%2Fvideo-share.component.ts;h=32f900f154c96e06ca759d33890cfb7dae51785d;hb=HEAD;hp=43229c330a66b08dbcbf546b0e2f44f71b4a28c7;hpb=cadc1a1b0b1f8c22afbf31cb07759706131f29c4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-share-modal/video-share.component.ts b/client/src/app/shared/shared-share-modal/video-share.component.ts index 43229c330..32f900f15 100644 --- a/client/src/app/shared/shared-share-modal/video-share.component.ts +++ b/client/src/app/shared/shared-share-modal/video-share.component.ts @@ -106,7 +106,8 @@ export class VideoShareComponent { includeVideoInPlaylist: false }, { set: (target, prop, value) => { - target[prop] = value + // FIXME: typings + (target as any)[prop] = value if (prop === 'embedP2P') { // Auto enabled warning title if P2P is enabled @@ -203,8 +204,6 @@ export class VideoShareComponent { // --------------------------------------------------------------------------- async onUpdate () { - console.log('on update') - if (this.playlist) { this.playlistUrl = await this.getPlaylistUrl() this.playlistEmbedUrl = await this.getPlaylistEmbedUrl()