Skip to content
Snippets Groups Projects

Improve comment-list view + 2 bug fixes

All threads resolved!
Viewing commit fac5b55b
Next
Show latest version
2 files
+ 27
2
Compare changes
  • Side-by-side
  • Inline
Files
2
<div fxLayout="row" id="search-container">
+2
<div fxLayout="row" id="search-container" *ngIf="comments.length > 0">
<mat-label fxLayoutAlign="center center">
<mat-icon class="search-icon">search</mat-icon>
</mat-label>
@@ -72,6 +72,13 @@
</mat-menu>
</div>
<div fxLayout="row" fxLayoutAlign="center" *ngIf="comments.length < 1">
<button mat-fab class="fab-extended" (click)="openCreateDialog()">
{{'comment-list.add-comment' | translate}}
<mat-icon class="add">add</mat-icon>
</button>
</div>
<div *ngIf="!isLoading">
<app-comment *ngFor="let current of hideCommentsList ? filteredComments : comments" [comment]="current" [parseVote]="getVote(current)"></app-comment>
</div>