X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fvideo.model.ts;h=fb98d53820929c769eb3986f7647fff3a4bba316;hb=e612209767ebe1deb0af7688c96b7f979bb52b44;hp=0cef3eb8f1de5f17c2992c9a6134ae0806ae366b;hpb=3a0fb65c61f80b510bce979a45d59d17948745e8;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/video/video.model.ts b/client/src/app/shared/video/video.model.ts index 0cef3eb8f..fb98d5382 100644 --- a/client/src/app/shared/video/video.model.ts +++ b/client/src/app/shared/video/video.model.ts @@ -1,5 +1,5 @@ import { User } from '../' -import { PlaylistElement, UserRight, Video as VideoServerModel, VideoPrivacy, VideoState } from '../../../../../shared' +import { UserRight, Video as VideoServerModel, VideoPrivacy, VideoState } from '../../../../../shared' import { Avatar } from '../../../../../shared/models/avatars/avatar.model' import { VideoConstant } from '../../../../../shared/models/videos/video-constant.model' import { durationToString, getAbsoluteAPIUrl } from '../misc/utils' @@ -48,11 +48,8 @@ export class Video implements VideoServerModel { blacklisted?: boolean blacklistedReason?: string - playlistElement?: PlaylistElement - account: { id: number - uuid: string name: string displayName: string url: string @@ -62,7 +59,6 @@ export class Video implements VideoServerModel { channel: { id: number - uuid: string name: string displayName: string url: string @@ -128,8 +124,6 @@ export class Video implements VideoServerModel { this.blacklistedReason = hash.blacklistedReason this.userHistory = hash.userHistory - - this.playlistElement = hash.playlistElement } isVideoNSFWForUser (user: User, serverConfig: ServerConfig) {