fix(deltagare): Removed sorting functionality until the API supports sorting. (TV-809)
Squashed commit of the following: commit 230f16d43841bbd1bb6a314896d7ce9290ddbd45 Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Thu Oct 21 13:39:32 2021 +0200 Removed sorting
This commit is contained in:
@@ -11,12 +11,12 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="deltagare-list__column-head" *ngFor="let column of columnHeaders">
|
||||
<button
|
||||
{{column.label}}
|
||||
<!-- <button
|
||||
class="deltagare-list__sort-button"
|
||||
[attr.id]="'sort-button-' + column.key"
|
||||
(click)="handleSort(column.key)"
|
||||
>
|
||||
{{column.label}}
|
||||
<ng-container *ngIf="sort.key === column.key">
|
||||
<digi-icon-caret-up
|
||||
class="deltagare-list__sort-icon"
|
||||
@@ -27,7 +27,7 @@
|
||||
*ngIf="sort.order === orderType.DESC"
|
||||
></digi-icon-caret-down>
|
||||
</ng-container>
|
||||
</button>
|
||||
</button> -->
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -55,6 +55,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<digi-button
|
||||
class="deltagare-list__handelse-button"
|
||||
af-variation="tertiary"
|
||||
af-size="s"
|
||||
(click)="openHandelser(singleDeltagare)"
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
font-size: var(--digi--typography--font-size--s);
|
||||
}
|
||||
|
||||
&__column-head {
|
||||
padding: 0;
|
||||
}
|
||||
// &__column-head {
|
||||
// padding: 0;
|
||||
// }
|
||||
|
||||
&__sort-button {
|
||||
position: relative;
|
||||
@@ -19,7 +19,8 @@
|
||||
border-width: 0;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
padding: var(--digi--layout--gutter--s) $digi--layout--gutter--l var(--digi--layout--gutter--s) var(--digi--layout--gutter);
|
||||
padding: var(--digi--layout--gutter--s) $digi--layout--gutter--l var(--digi--layout--gutter--s)
|
||||
var(--digi--layout--gutter);
|
||||
margin: 0;
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
@@ -49,4 +50,10 @@
|
||||
--digi-icon--height: 1rem;
|
||||
--digi-icon--width: 1rem;
|
||||
}
|
||||
|
||||
&__handelse-button {
|
||||
::ng-deep .digi-button {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user