diff options
Diffstat (limited to 'client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts')
-rw-r--r-- | client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts index 8d67e9beb..efd99e52b 100644 --- a/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts +++ b/client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts | |||
@@ -98,7 +98,10 @@ export class VideoBlockListComponent extends RestTable implements OnInit { | |||
98 | 98 | ||
99 | this.videoService.removeVideo(videoBlock.video.id) | 99 | this.videoService.removeVideo(videoBlock.video.id) |
100 | .subscribe({ | 100 | .subscribe({ |
101 | next: () => this.notifier.success($localize`Video deleted.`), | 101 | next: () => { |
102 | this.notifier.success($localize`Video deleted.`) | ||
103 | this.reloadData() | ||
104 | }, | ||
102 | 105 | ||
103 | error: err => this.notifier.error(err.message) | 106 | error: err => this.notifier.error(err.message) |
104 | }) | 107 | }) |
@@ -124,7 +127,7 @@ export class VideoBlockListComponent extends RestTable implements OnInit { | |||
124 | } | 127 | } |
125 | 128 | ||
126 | toHtml (text: string) { | 129 | toHtml (text: string) { |
127 | return this.markdownRenderer.textMarkdownToHTML(text) | 130 | return this.markdownRenderer.textMarkdownToHTML({ markdown: text }) |
128 | } | 131 | } |
129 | 132 | ||
130 | async unblockVideo (entry: VideoBlacklist) { | 133 | async unblockVideo (entry: VideoBlacklist) { |