Skip to content
Snippets Groups Projects
Commit 0214748b authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Change counter to 'mat-chip'

parent a44ff792
Branches
Tags
No related merge requests found
...@@ -13,8 +13,10 @@ ...@@ -13,8 +13,10 @@
<div class="button-bar" fxLayoutAlign="center center"> <div class="button-bar" fxLayoutAlign="center center">
<div *ngIf="comments && comments.length > 0"> <div *ngIf="comments && comments.length > 0">
<button mat-mini-fab color="primary" class="comment-counter" *ngIf="(!filteredComments) || (comments.length === filteredComments.length)">{{comments.length}}</button> <mat-chip-list>
<button mat-mini-fab color="secondary" class="comment-counter" *ngIf="(filteredComments) && (comments.length > filteredComments.length)">{{filteredComments.length}}</button> <mat-chip class="comment-counter" *ngIf="(!filteredComments) || (comments.length === filteredComments.length)">{{comments.length}}</mat-chip>
<mat-chip class="comment-counter" *ngIf="(filteredComments) && (comments.length > filteredComments.length)">{{filteredComments.length}}</mat-chip>
</mat-chip-list>
</div> </div>
<button mat-icon-button class="searchBarButton" *ngIf="!searchBox.value && comments && comments.length > 0" <button mat-icon-button class="searchBarButton" *ngIf="!searchBox.value && comments && comments.length > 0"
......
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