1 import { Component, ViewEncapsulation, Input } from '@angular/core'
2 import { VideoAbuse } from '../../../../../../shared'
3 import { Account } from '@app/shared/account/account.model'
6 selector: 'my-video-abuse-details',
7 templateUrl: './video-abuse-details.component.html',
8 styleUrls: [ '../moderation.component.scss' ]
10 export class VideoAbuseDetailsComponent {
11 @Input() videoAbuse: VideoAbuse
13 createByString (account: Account) {
14 return Account.CREATE_BY_STRING(account.name, account.host)