templateUrl: './video-comment-list.component.html',
styleUrls: [ '../../../shared/shared-moderation/moderation.scss', './video-comment-list.component.scss' ]
})
templateUrl: './video-comment-list.component.html',
styleUrls: [ '../../../shared/shared-moderation/moderation.scss', './video-comment-list.component.scss' ]
})
comments: VideoCommentAdmin[]
totalRecords = 0
sort: SortMeta = { field: 'createdAt', order: -1 }
comments: VideoCommentAdmin[]
totalRecords = 0
sort: SortMeta = { field: 'createdAt', order: -1 }
{
label: $localize`Delete`,
handler: comments => this.removeComments(comments),
{
label: $localize`Delete`,
handler: comments => this.removeComments(comments),
- return this.markdownRenderer.textMarkdownToHTML(text, true, true)
- }
-
- isInSelectionMode () {
- return this.selectedComments.length !== 0
+ return this.markdownRenderer.textMarkdownToHTML({ markdown: text, withHtml: true, withEmoji: true })
{ count: commentArgs.length },
$localize`${commentArgs.length} comment(s) deleted.`
)
{ count: commentArgs.length },
$localize`${commentArgs.length} comment(s) deleted.`
)