Altinn / altinn-design-system

Design system v2
https://designsystem.altinn.studio/
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

fix sort arrows list component #289

Closed johlie closed 1 year ago

johlie commented 1 year ago

Description

Sort arrows did not turn black when active in altinn-app. Fix to see what sortable column is active when there is more than one sortable column.

Related Issue(s)

Verification

Documentation

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -0.38 :warning:

Comparison is base (80f44bc) 89.24% compared to head (aa748dd) 88.87%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #289 +/- ## ========================================== - Coverage 89.24% 88.87% -0.38% ========================================== Files 83 83 Lines 1199 1204 +5 Branches 376 381 +5 ========================================== Hits 1070 1070 - Misses 120 125 +5 Partials 9 9 ``` | [Impacted Files](https://codecov.io/gh/Altinn/altinn-design-system/pull/289?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Altinn) | Coverage Δ | | |---|---|---| | [src/components/Page/PageHeader.tsx](https://codecov.io/gh/Altinn/altinn-design-system/pull/289?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Altinn#diff-c3JjL2NvbXBvbmVudHMvUGFnZS9QYWdlSGVhZGVyLnRzeA==) | `100.00% <ø> (ø)` | | | [src/components/Table/TableCell.tsx](https://codecov.io/gh/Altinn/altinn-design-system/pull/289?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Altinn#diff-c3JjL2NvbXBvbmVudHMvVGFibGUvVGFibGVDZWxsLnRzeA==) | `50.84% <0.00%> (-4.71%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Altinn). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Altinn)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.