mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
Hiding titles of filter categories when no filter exists
This commit is contained in:
parent
64c9921dca
commit
c83d80ab51
@ -13,6 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<mat-menu #filterMenu="matMenu" class="big-panel">
|
<mat-menu #filterMenu="matMenu" class="big-panel">
|
||||||
|
<ng-container *ngIf="this.genres.length > 0">
|
||||||
<h4><b>Genres</b></h4>
|
<h4><b>Genres</b></h4>
|
||||||
<mat-chip-list>
|
<mat-chip-list>
|
||||||
<!--suppress AngularInvalidExpressionResultType ('default' color is valid for mat-chip)-->
|
<!--suppress AngularInvalidExpressionResultType ('default' color is valid for mat-chip)-->
|
||||||
@ -22,7 +23,9 @@
|
|||||||
{{genre.name}}
|
{{genre.name}}
|
||||||
</mat-chip>
|
</mat-chip>
|
||||||
</mat-chip-list>
|
</mat-chip-list>
|
||||||
|
</ng-container>
|
||||||
|
|
||||||
|
<ng-container *ngIf="this.studios.length > 0">
|
||||||
<br/>
|
<br/>
|
||||||
<h4><b>Studios</b></h4>
|
<h4><b>Studios</b></h4>
|
||||||
<mat-chip-list>
|
<mat-chip-list>
|
||||||
@ -33,6 +36,7 @@
|
|||||||
{{studio.name}}
|
{{studio.name}}
|
||||||
</mat-chip>
|
</mat-chip>
|
||||||
</mat-chip-list>
|
</mat-chip-list>
|
||||||
|
</ng-container>
|
||||||
</mat-menu>
|
</mat-menu>
|
||||||
|
|
||||||
<mat-menu #sortMenu="matMenu">
|
<mat-menu #sortMenu="matMenu">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user