Skip to content

Commit

Permalink
Fjern mulighet for å legge til nye ia-tjenester
Browse files Browse the repository at this point in the history
  • Loading branch information
klechr committed Oct 31, 2024
1 parent 9dc8b41 commit fd43f2e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 253 deletions.

This file was deleted.

215 changes: 0 additions & 215 deletions client/src/Pages/Virksomhet/Leveranser/LeggTilLeveranse.tsx

This file was deleted.

12 changes: 1 addition & 11 deletions client/src/Pages/Virksomhet/Leveranser/LeveranseFane.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import styled from "styled-components";
import { BodyShort, Heading } from "@navikt/ds-react";
import { IAProsessStatusEnum, IASak } from "../../../domenetyper/domenetyper";
import { LeggTilLeveranse } from "./LeggTilLeveranse";
import { IASak } from "../../../domenetyper/domenetyper";
import { LeveranseOversikt } from "./LeveranseOversikt";
import { tabInnholdStyling } from "../../../styling/containere";
import { EksternLenke } from "../../../components/EksternLenke";
Expand All @@ -25,9 +24,6 @@ interface Props {
}

export const LeveranseFane = ({ iaSak }: Props) => {
const sakenErIViBistår =
iaSak.status === IAProsessStatusEnum.enum.VI_BISTÅR;

const {
data: leveranserPerIATjeneste,
loading: lasterLeveranserPerIATjeneste,
Expand Down Expand Up @@ -64,12 +60,6 @@ export const LeveranseFane = ({ iaSak }: Props) => {
leveranserPerIATjeneste={leveranserPerIATjeneste}
lasterLeveranserPerIATjeneste={lasterLeveranserPerIATjeneste}
/>
{sakenErIViBistår && (
<LeggTilLeveranse
iaSak={iaSak}
leveranserPerIATjeneste={leveranserPerIATjeneste}
/>
)}
</Container>
);
};

0 comments on commit fd43f2e

Please sign in to comment.