Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #500 from navikt/toReversedFix
Browse files Browse the repository at this point in the history
To reversed fix
  • Loading branch information
sstensby authored Oct 12, 2023
2 parents 05fc811 + 0ede661 commit 349fd00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

deploy-to-dev-gcp:
name: Deploy to dev-gcp
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/yarn-upgrade'
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/toReversedFix'
needs: docker-build-push
runs-on: ubuntu-latest
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion src/Historikk/GrafEllerTabell/GrafEllerTabell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function GrafEllerTabell({
const kvartalsvisSammenligning = konverterTilKvartalsvisSammenligning(
restSykefraværsstatistikk.data
);
const kvartalsvisSammenligningReversed = kvartalsvisSammenligning.toReversed();
const kvartalsvisSammenligningReversed = [...kvartalsvisSammenligning].reverse();
const grafLinjerSomSkalVisesResult = useGrafLinjerSomSkalVises(kvartalsvisSammenligning);

return (
Expand Down
2 changes: 1 addition & 1 deletion src/Historikk/GrafEllerTabell/Tabell/Tabell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function hentTabellProps(
const kvartalsvisSammenligning = konverterTilKvartalsvisSammenligning(
restSykefraværsstatistikk.data
);
const kvartalsvisSammenligningReversed = kvartalsvisSammenligning.toReversed();
const kvartalsvisSammenligningReversed = [...kvartalsvisSammenligning].reverse();

return {
harOverordnetEnhet,
Expand Down

0 comments on commit 349fd00

Please sign in to comment.