Skip to content

Commit

Permalink
skal vises hvis oppgaven ikke er låst, og ikke motsatt
Browse files Browse the repository at this point in the history
  • Loading branch information
kmriise committed Feb 8, 2024
1 parent aa68014 commit 2872792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/oppgave-steg/OppgaveStegGenerell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function OppgaveStegGenerell(props: IOppgaveStegProps) {
</div>
))}

{readonly && (
{!readonly && (
<Button type="submit" disabled={isSubmitting}>
{isSubmitting ? "Lagrer..." : "Lagre"}
</Button>
Expand Down

0 comments on commit 2872792

Please sign in to comment.