diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-17 15:48:54 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-17 15:48:54 +0100 |
commit | 3f6441e09af842b4a49639cc7562865eace024bc (patch) | |
tree | d999de949e91c79f262387fe4d87bdb3e3416b47 /client/src/app/+admin | |
parent | ac2b052d5448a6c3a590f5f567a5297d8c41966c (diff) | |
download | PeerTube-3f6441e09af842b4a49639cc7562865eace024bc.tar.gz PeerTube-3f6441e09af842b4a49639cc7562865eace024bc.tar.zst PeerTube-3f6441e09af842b4a49639cc7562865eace024bc.zip |
Fix admin table filters
Diffstat (limited to 'client/src/app/+admin')
3 files changed, 3 insertions, 3 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 aa6b5d0a9..82c371f4d 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 | |||
@@ -108,7 +108,7 @@ export class VideoBlockListComponent extends RestTable implements OnInit, AfterV | |||
108 | } | 108 | } |
109 | 109 | ||
110 | ngAfterViewInit () { | 110 | ngAfterViewInit () { |
111 | if (this.search) this.setTableFilter(this.search) | 111 | if (this.search) this.setTableFilter(this.search, false) |
112 | } | 112 | } |
113 | 113 | ||
114 | /* Table filter functions */ | 114 | /* Table filter functions */ |
diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html index 8ec4ebbb2..8c68b0abf 100644 --- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html +++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.html | |||
@@ -123,7 +123,7 @@ | |||
123 | 123 | ||
124 | <ng-template pTemplate="emptymessage"> | 124 | <ng-template pTemplate="emptymessage"> |
125 | <tr> | 125 | <tr> |
126 | <td colspan="5"> | 126 | <td colspan="7"> |
127 | <div class="no-results"> | 127 | <div class="no-results"> |
128 | <ng-container *ngIf="search" i18n>No comments found matching current filters.</ng-container> | 128 | <ng-container *ngIf="search" i18n>No comments found matching current filters.</ng-container> |
129 | <ng-container *ngIf="!search" i18n>No comments found.</ng-container> | 129 | <ng-container *ngIf="!search" i18n>No comments found.</ng-container> |
diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.ts b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.ts index 529e28f11..63493d00d 100644 --- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.ts +++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.ts | |||
@@ -92,7 +92,7 @@ export class VideoCommentListComponent extends RestTable implements OnInit, Afte | |||
92 | } | 92 | } |
93 | 93 | ||
94 | ngAfterViewInit () { | 94 | ngAfterViewInit () { |
95 | if (this.search) this.setTableFilter(this.search) | 95 | if (this.search) this.setTableFilter(this.search, false) |
96 | } | 96 | } |
97 | 97 | ||
98 | getIdentifier () { | 98 | getIdentifier () { |