X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-video-playlist%2Fvideo-playlist-element.model.ts;h=b661378bd80b51238816a4ec2f1e3775b4529a29;hb=ae9809a7d021fcaf01ee482a9c6c59fdd50125a6;hp=27a79d1fd6d237cf8377a8bbe708aa9bfe5d3ca8;hpb=67ed6552b831df66713bac9e672738796128d33f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-video-playlist/video-playlist-element.model.ts b/client/src/app/shared/shared-video-playlist/video-playlist-element.model.ts index 27a79d1fd..b661378bd 100644 --- a/client/src/app/shared/shared-video-playlist/video-playlist-element.model.ts +++ b/client/src/app/shared/shared-video-playlist/video-playlist-element.model.ts @@ -1,5 +1,5 @@ -import { VideoPlaylistElement as ServerVideoPlaylistElement, VideoPlaylistElementType } from '../../../../../shared/models/videos' import { Video } from '@app/shared/shared-main' +import { VideoPlaylistElement as ServerVideoPlaylistElement, VideoPlaylistElementType } from '@shared/models' export class VideoPlaylistElement implements ServerVideoPlaylistElement { id: number @@ -11,7 +11,7 @@ export class VideoPlaylistElement implements ServerVideoPlaylistElement { video?: Video - constructor (hash: ServerVideoPlaylistElement, translations: {}) { + constructor (hash: ServerVideoPlaylistElement, translations: { [ id: string ]: string } = {}) { this.id = hash.id this.position = hash.position this.startTimestamp = hash.startTimestamp