Skip to content

Commit

Permalink
fix: Aseta hyväksymispäätössivun julkaisemispainike menemään aktiivis…
Browse files Browse the repository at this point in the history
…eksi vasta kun Käsittelyn tila -sivulla on annettu päätöksen tiedot (#446)
  • Loading branch information
tkork committed Oct 19, 2022
1 parent 7e3d3b5 commit 45f52c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export default function Painikkeet({ projekti }: Props) {
<Button
id="save_and_send_for_acceptance"
primary
disabled={!projektiMeetsMinimumStatus(projekti, Status.HYVAKSYMISMENETTELYSSA)}
disabled={!projektiMeetsMinimumStatus(projekti, Status.HYVAKSYTTY)}
onClick={handleSubmit(lahetaHyvaksyttavaksi)}
>
Lähetä Hyväksyttäväksi
Expand Down

0 comments on commit 45f52c9

Please sign in to comment.