X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fvideo-details.model.ts;h=5fc55fca60de1f68caa6919b4ddb9a9fd318c30c;hb=ad9e39fb815d85e5e718c40540fa75471474fa17;hp=5397aa37f7ed9813a3e7454c17bca1881e4340cf;hpb=06be7ed0b27b371465c5d1b7f92b4adfb0b866ea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/video/video-details.model.ts b/client/src/app/shared/video/video-details.model.ts index 5397aa37f..5fc55fca6 100644 --- a/client/src/app/shared/video/video-details.model.ts +++ b/client/src/app/shared/video/video-details.model.ts @@ -1,7 +1,7 @@ import { UserRight, VideoChannel, VideoDetails as VideoDetailsServerModel, VideoFile } from '../../../../../shared' -import { Account } from '../../../../../shared/models/actors' import { AuthUser } from '../../core' import { Video } from '../../shared/video/video.model' +import { Account } from '@app/shared/account/account.model' export class VideoDetails extends Video implements VideoDetailsServerModel { descriptionPath: string @@ -21,7 +21,7 @@ export class VideoDetails extends Video implements VideoDetailsServerModel { this.descriptionPath = hash.descriptionPath this.files = hash.files this.channel = hash.channel - this.account = hash.account + this.account = new Account(hash.account) this.tags = hash.tags this.support = hash.support this.commentsEnabled = hash.commentsEnabled