mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Merged PR 1879: Warenbegleitschein Übersicht und Details
Related work items: #5137, #5138
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
<ui-toolbar>
|
||||
<span class="text-isa-neutral-600 isa-text-body-2-regular">Sortieren</span>
|
||||
<div class="flex-grow"></div>
|
||||
@for (orderBy of orderByOptions(); track orderBy.by) {
|
||||
<button
|
||||
class="flex flex-1 gap-1 items-center text-nowrap"
|
||||
uiTextButton
|
||||
type="button"
|
||||
(click)="toggleOrderBy(orderBy)"
|
||||
data-what="sort-button"
|
||||
[attr.data-which]="orderBy.by"
|
||||
>
|
||||
<div>
|
||||
{{ orderBy.label }}
|
||||
</div>
|
||||
@if (orderBy.currentDir) {
|
||||
<ng-icon [name]="orderBy.currentDir" size="1.25rem"></ng-icon>
|
||||
}
|
||||
</button>
|
||||
}
|
||||
</ui-toolbar>
|
||||
<ui-toolbar>
|
||||
<span class="text-isa-neutral-600 isa-text-body-2-regular">Sortieren</span>
|
||||
<div class="flex-grow"></div>
|
||||
@for (orderBy of orderByOptions(); track orderBy.by) {
|
||||
<button
|
||||
class="flex flex-grow-0 gap-1 items-center text-nowrap"
|
||||
uiTextButton
|
||||
type="button"
|
||||
(click)="toggleOrderBy(orderBy)"
|
||||
data-what="sort-button"
|
||||
[attr.data-which]="orderBy.by"
|
||||
>
|
||||
<div>
|
||||
{{ orderBy.label }}
|
||||
</div>
|
||||
@if (orderBy.currentDir) {
|
||||
<ng-icon [name]="orderBy.currentDir" size="1.25rem"></ng-icon>
|
||||
}
|
||||
</button>
|
||||
}
|
||||
</ui-toolbar>
|
||||
|
||||
Reference in New Issue
Block a user