Skip to content

Commit

Permalink
Justering av text på dropdown.menu
Browse files Browse the repository at this point in the history
  • Loading branch information
henriktheboss committed Oct 15, 2024
1 parent 85d9ac7 commit 4125ca9
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/moduler/verktoylinje/Verktoylinje.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PlusIcon } from '@navikt/aksel-icons';
import { BodyShort, Button, Dropdown, Heading, Link } from '@navikt/ds-react';
import { Button, Dropdown, Link } from '@navikt/ds-react';
import React from 'react';
import { useSelector } from 'react-redux';
import { useNavigate } from 'react-router-dom';
Expand All @@ -14,7 +14,6 @@ import VisValgtFilter from '../filtrering/VisValgtFilter';
import { selectErUnderOppfolging } from '../oppfolging-status/oppfolging-selector';
import { Status } from '../../createGenericSlice';
import { useErVeileder } from '../../Provider';
import Lenkepanel from '../../felles-komponenter/Lenkepanel';

const Verktoylinje = () => {
const underOppfolging: boolean = useSelector(selectErUnderOppfolging);
Expand Down Expand Up @@ -54,27 +53,26 @@ const Verktoylinje = () => {
<Dropdown.Menu>
{erVeileder ? (
<div className="">
<Heading level="2" size="medium">
<Dropdown.Menu.GroupedList.Heading>
For NAV-ansatt
</Heading>
</Dropdown.Menu.GroupedList.Heading>
<Dropdown.Menu.GroupedList>
<Dropdown.Menu.GroupedList.Item as={Link} href={`${nyAktivitetBasePath}/sokeavtale`}>Avtale om å søke jobber</Dropdown.Menu.GroupedList.Item>
<Dropdown.Menu.GroupedList.Item as={Link} href={`${nyAktivitetBasePath}/mote`}>Møte med NAV</Dropdown.Menu.GroupedList.Item>
<Dropdown.Menu.GroupedList.Item as={Link} href={`${nyAktivitetBasePath}/samtalereferat`}>Samtalereferat</Dropdown.Menu.GroupedList.Item>
</Dropdown.Menu.GroupedList>
<Dropdown.Menu.Divider />
</div>
) : null}


{erVeileder ? (
<Heading level="1" size="medium" className="mb-4">
For bruker og NAV-ansatt
</Heading>
) : null}
<Dropdown.Menu.GroupedList>
{erVeileder ? (
<Dropdown.Menu.GroupedList.Heading>
Velg type aktivitet
For bruker og NAV-ansatt
</Dropdown.Menu.GroupedList.Heading>
) :<Dropdown.Menu.GroupedList.Heading>
Velg type aktivitet
</Dropdown.Menu.GroupedList.Heading> }
<Dropdown.Menu.GroupedList.Item as={Link} href={`${nyAktivitetBasePath}/stilling`}>
En jobb jeg vil søke på
</Dropdown.Menu.GroupedList.Item>
Expand Down

0 comments on commit 4125ca9

Please sign in to comment.