diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-03 14:23:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-03 14:23:55 +0100 |
commit | dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709 (patch) | |
tree | b71ed391c2d8f99bff40dd3461010876de7bb23c /client/src/app/shared/shared-forms/advanced-input-filter.component.html | |
parent | d324756edb836672f12284cd18e642a658b273d8 (diff) | |
download | PeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.tar.gz PeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.tar.zst PeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.zip |
Improve advanced input filter
Diffstat (limited to 'client/src/app/shared/shared-forms/advanced-input-filter.component.html')
-rw-r--r-- | client/src/app/shared/shared-forms/advanced-input-filter.component.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-forms/advanced-input-filter.component.html b/client/src/app/shared/shared-forms/advanced-input-filter.component.html index c662b9bb6..7031cb53b 100644 --- a/client/src/app/shared/shared-forms/advanced-input-filter.component.html +++ b/client/src/app/shared/shared-forms/advanced-input-filter.component.html | |||
@@ -8,9 +8,11 @@ | |||
8 | <ng-container *ngFor="let group of filters"> | 8 | <ng-container *ngFor="let group of filters"> |
9 | <h6 class="dropdown-header">{{ group.title }}</h6> | 9 | <h6 class="dropdown-header">{{ group.title }}</h6> |
10 | 10 | ||
11 | <a *ngFor="let filter of group.children" [routerLink]="[ '.' ]" [queryParams]="filter.queryParams" class="dropdown-item"> | 11 | <button *ngFor="let filter of group.children" (click)="onFilterClick(filter)" class="dropdown-item"> |
12 | <my-global-icon [ngClass]="{ 'no-visible': !isFilterEnabled(filter) }" iconName="tick"></my-global-icon> | ||
13 | |||
12 | {{ filter.label }} | 14 | {{ filter.label }} |
13 | </a> | 15 | </button> |
14 | </ng-container> | 16 | </ng-container> |
15 | </div> | 17 | </div> |
16 | </div> | 18 | </div> |