Commit dd3009b4 authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

correct display logic of filters on moderation list

parent ede6f0ac
......@@ -44,7 +44,7 @@
<button id="sort-button"
mat-icon-button
class="searchBarButton"
*ngIf="!searchBox.value && comments && comments.length > 2 && !search"
*ngIf="!searchBox.value && comments && commentsFilteredByTime.length > 2 && !search"
[matMenuTriggerFor]="sortMenu"
matTooltip="{{ 'comment-list.sort-comments' | translate }}">
<mat-icon class="searchBarIcon">swap_vert</mat-icon>
......
......@@ -54,7 +54,7 @@
mat-icon-button
class="searchBarButton"
aria-labelledby="swap_vert"
*ngIf="!searchBox.value && comments && comments.length > 2 && !search"
*ngIf="!searchBox.value && comments && commentsFilteredByTime.length > 2 && !search"
[matMenuTriggerFor]="sortMenu"
matTooltip="{{ 'comment-list.sort-comments' | translate }}">
<mat-icon class="searchBarIcon">swap_vert</mat-icon>
......@@ -64,7 +64,7 @@
mat-icon-button
class="searchBarButton"
aria-labelledby="filter_list"
*ngIf="!searchBox.value && comments && comments.length > 2 && !search"
*ngIf="!searchBox.value && comments && commentsFilteredByTime.length > 2 && !search"
[matMenuTriggerFor]="filterMenu"
[ngClass]="{'active-filter': hideCommentsList}"
matTooltip="{{ 'comment-list.filter-comments' | translate }}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment