Skip to content

Commit

Permalink
Reset engagement modal values on add engagement (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathildehaugum authored Dec 13, 2023
1 parent 3837a16 commit 7ea60df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/Staffing/AddEngagementForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export function AddEngagementForm({
),
);
setIsDisabledHotkeys(true);
resetSelectedValues();

// TODO: Futher logic for the changes in openModal *here*
} else console.error("Error adding engagement");
Expand Down

0 comments on commit 7ea60df

Please sign in to comment.