Skip to content

Commit

Permalink
fix: remove training compensations data on changes (#2866)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast authored Mar 4, 2024
1 parent 854ff87 commit d2bf279
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/benefit/handler/src/hooks/useFormActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ const useFormActions = (
deMinimisAidSet: deMinimisAids,
action: APPLICATION_ACTIONS.HANDLER_ALLOW_APPLICATION_EDIT,
benefitType: BENEFIT_TYPES.SALARY,
trainingCompensations: normalizedValues.trainingCompensations
? []
: undefined,
calculation: calculation
? getPayloadForCalculation(currentValues)
: undefined,
Expand Down

0 comments on commit d2bf279

Please sign in to comment.