Skip to content

Commit

Permalink
Merge pull request #690 from navikt/TolkBehov
Browse files Browse the repository at this point in the history
Remove sorting on tolkbehov
  • Loading branch information
dragutin-nav authored Jul 5, 2022
2 parents e417347 + 1bdfc2f commit 79a8131
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 42 deletions.
43 changes: 20 additions & 23 deletions src/enhetsportefolje/enhet-listehode.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import SorteringHeader from '../components/tabell/sortering-header';
import TittelValg from '../utils/utils';
import React from "react";
import SorteringHeader from "../components/tabell/sortering-header";
import TittelValg from "../utils/utils";
import {
I_AVTALT_AKTIVITET,
MOTER_IDAG,
Expand All @@ -10,15 +10,15 @@ import {
VENTER_PA_SVAR_FRA_NAV,
ytelseAapSortering,
ytelseUtlopsSortering
} from '../filtrering/filter-konstanter';
import {FiltervalgModell, Sorteringsfelt, Sorteringsrekkefolge} from '../model-interfaces';
import {Kolonne, OversiktType} from '../ducks/ui/listevisning';
import {AktiviteterValg} from '../ducks/filtrering';
import Header from '../components/tabell/header';
import VelgalleCheckboks from '../components/toolbar/velgalle-checkboks';
import './enhetsportefolje.less';
import './brukerliste.less';
import {OrNothing} from '../utils/types/types';
} from "../filtrering/filter-konstanter";
import { FiltervalgModell, Sorteringsfelt, Sorteringsrekkefolge } from "../model-interfaces";
import { Kolonne, OversiktType } from "../ducks/ui/listevisning";
import { AktiviteterValg } from "../ducks/filtrering";
import Header from "../components/tabell/header";
import VelgalleCheckboks from "../components/toolbar/velgalle-checkboks";
import "./enhetsportefolje.less";
import "./brukerliste.less";
import { OrNothing } from "../utils/types/types";

function harValgteAktiviteter(aktiviteter) {
if (aktiviteter && Object.keys(aktiviteter).length > 0) {
Expand Down Expand Up @@ -127,17 +127,14 @@ function EnhetListehode({
headerId="statsborgerskap_gyldig_fra"
skalVises={valgteKolonner.includes(Kolonne.STATSBORGERSKAP_GYLDIG_FRA)}
/>
<SorteringHeader
sortering={Sorteringsfelt.TOLKEBEHOV}
onClick={sorteringOnClick}
rekkefolge={sorteringsrekkefolge}
erValgt={sorteringsfelt === Sorteringsfelt.TOLKEBEHOV}
tekst="Tolkebehov"
className="col col-xs-2"
title="Tolkebehov"
headerId="tolkebehov"
skalVises={valgteKolonner.includes(Kolonne.TOLKEBEHOV)}
/>
<Header
className="col col-xs-2"
title="Tolkebehov"
headerId="tolkebehov"
skalVises={valgteKolonner.includes(Kolonne.TOLKEBEHOV)}
>
Tolkebehov
</Header>
<SorteringHeader
sortering={Sorteringsfelt.TOLKE_SPRAAK}
onClick={sorteringOnClick}
Expand Down
35 changes: 16 additions & 19 deletions src/minoversikt/minoversikt-listehode.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';
import SorteringHeader from '../components/tabell/sortering-header';
import TittelValg from '../utils/utils';
import {BrukerModell, FiltervalgModell, Sorteringsfelt, Sorteringsrekkefolge} from '../model-interfaces';
import {AktiviteterValg} from '../ducks/filtrering';
import * as React from "react";
import SorteringHeader from "../components/tabell/sortering-header";
import TittelValg from "../utils/utils";
import { BrukerModell, FiltervalgModell, Sorteringsfelt, Sorteringsrekkefolge } from "../model-interfaces";
import { AktiviteterValg } from "../ducks/filtrering";
import {
I_AVTALT_AKTIVITET,
MIN_ARBEIDSLISTE,
Expand All @@ -13,13 +13,13 @@ import {
VENTER_PA_SVAR_FRA_NAV,
ytelseAapSortering,
ytelseUtlopsSortering
} from '../filtrering/filter-konstanter';
import {Kolonne, OversiktType} from '../ducks/ui/listevisning';
import Header from '../components/tabell/header';
import VelgalleCheckboks from '../components/toolbar/velgalle-checkboks';
import './minoversikt.less';
import {ReactComponent as ArbeidslisteikonBla} from '../components/ikoner/arbeidsliste/arbeidslisteikon_bla.svg';
import {OrNothing} from '../utils/types/types';
} from "../filtrering/filter-konstanter";
import { Kolonne, OversiktType } from "../ducks/ui/listevisning";
import Header from "../components/tabell/header";
import VelgalleCheckboks from "../components/toolbar/velgalle-checkboks";
import "./minoversikt.less";
import { ReactComponent as ArbeidslisteikonBla } from "../components/ikoner/arbeidsliste/arbeidslisteikon_bla.svg";
import { OrNothing } from "../utils/types/types";

function harValgteAktiviteter(aktiviteter) {
if (aktiviteter && Object.keys(aktiviteter).length > 0) {
Expand Down Expand Up @@ -140,17 +140,14 @@ function MinOversiktListeHode({
skalVises={valgteKolonner.includes(Kolonne.STATSBORGERSKAP_GYLDIG_FRA)}
/>

<SorteringHeader
sortering={Sorteringsfelt.TOLKEBEHOV}
onClick={sorteringOnClick}
rekkefolge={sorteringsrekkefolge}
erValgt={sorteringsfelt === Sorteringsfelt.TOLKEBEHOV}
tekst="Tolkebehov"
<Header
className="col col-xs-2"
title="Tolkebehov"
headerId="tolkebehov"
skalVises={valgteKolonner.includes(Kolonne.TOLKEBEHOV)}
/>
>
Tolkebehov
</Header>
<SorteringHeader
sortering={Sorteringsfelt.TOLKE_SPRAAK}
onClick={sorteringOnClick}
Expand Down

0 comments on commit 79a8131

Please sign in to comment.