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:
Erik Tiekstra
2021-10-22 08:11:51 +02:00
parent 9fc6f40c45
commit 6d5a449323
2 changed files with 15 additions and 7 deletions

View File

@@ -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)"

View File

@@ -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;
}
}
}