From 6b99a21ba4223298155d91e1edf7dd3c7b3b5999 Mon Sep 17 00:00:00 2001 From: Klaus Quibeldey-Cirkel <klaus.quibeldey-cirkel@mni.thm.de> Date: Thu, 1 Apr 2021 13:59:13 +0200 Subject: [PATCH] no search, sort and filter options if no question asked --- .../moderator-comment-list.component.html | 2 +- .../components/shared/comment-list/comment-list.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html b/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html index 0a237fa2b..32ace3ef4 100644 --- a/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html +++ b/src/app/components/moderator/moderator-comment-list/moderator-comment-list.component.html @@ -1,5 +1,5 @@ <div fxLayout="row" - *ngIf="comments.length > 0" + *ngIf="comments.length > 1" [ngClass]="{'search-container' : !scroll, 'search-container-fixed' : scroll}" (window:scroll)="checkScroll()" fxLayoutAlign="center"> diff --git a/src/app/components/shared/comment-list/comment-list.component.html b/src/app/components/shared/comment-list/comment-list.component.html index db96b5deb..8dbb8a535 100644 --- a/src/app/components/shared/comment-list/comment-list.component.html +++ b/src/app/components/shared/comment-list/comment-list.component.html @@ -1,5 +1,5 @@ <div fxLayout="row" - *ngIf="comments.length > 0" + *ngIf="comments.length > 1" [ngClass]="{'search-container' : !scroll, 'search-container-fixed' : scroll}" (window:scroll)="checkScroll()" fxLayoutAlign="center"> -- GitLab