Skip to content

Commit

Permalink
veileder kan se guidepanel
Browse files Browse the repository at this point in the history
  • Loading branch information
henriktheboss committed Oct 2, 2024
1 parent 9d39d5a commit 5dea5fe
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/view/dialog/NyDialogForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,9 @@ const NyDialogForm = (props: Props) => {
onSubmit={handleSubmit((data) => onSubmit(data))}
autoComplete="off"
>
{!erVeileder ? (
<>
<GuidePanel poster={!bigScreen}>
{guidePanelText()}
</GuidePanel>
</>
) : null}
<GuidePanel poster={!bigScreen}>
{guidePanelText()}
</GuidePanel>
<TextField
label="Tema (obligatorisk)"
description="Skriv kort hva dialogen skal handle om"
Expand Down

0 comments on commit 5dea5fe

Please sign in to comment.