Merged PR 2070: fix(shared-filter, reward-catalog): Added Branch Filter Toggle to Reward HSC...

fix(shared-filter, reward-catalog): Added Branch Filter Toggle to Reward HSC View, Adjusted Controls Panel Filter Styling and Layout to fix mobile issues and added spacing to order-by-toolbar

Refs: #5514, #5475
This commit is contained in:
Nino Righi
2025-12-05 20:04:07 +00:00
committed by Lorenz Hilpert
parent 5711a75188
commit 6e55b7b0da
4 changed files with 7 additions and 4 deletions

View File

@@ -73,9 +73,6 @@ export class RewardCatalogComponent {
#filterService = inject(FilterService); #filterService = inject(FilterService);
displayStockFilterSwitch = computed(() => { displayStockFilterSwitch = computed(() => {
if (this.isCallCenter) {
return [];
}
const stockInput = this.#filterService const stockInput = this.#filterService
.inputs() .inputs()
?.filter((input) => input.target === 'filter') ?.filter((input) => input.target === 'filter')

View File

@@ -12,7 +12,7 @@
></filter-search-bar-input> ></filter-search-bar-input>
} }
<div class="flex flex-row gap-4 items-center"> <div class="flex flex-row gap-4 items-center flex-wrap justify-end">
<ng-content></ng-content> <ng-content></ng-content>
@for (switchFilter of switchFilters(); track switchFilter.filter.key) { @for (switchFilter of switchFilters(); track switchFilter.filter.key) {

View File

@@ -15,6 +15,8 @@
</div> </div>
@if (orderBy.currentDir) { @if (orderBy.currentDir) {
<ng-icon [name]="orderBy.currentDir" size="1.25rem"></ng-icon> <ng-icon [name]="orderBy.currentDir" size="1.25rem"></ng-icon>
} @else {
<div class="w-5 h-5"></div>
} }
</button> </button>
} }

View File

@@ -1,3 +1,7 @@
:host { :host {
@apply inline-flex flex-col; @apply inline-flex flex-col;
} }
.ui-toolbar {
@apply gap-0;
}