Skip to content

Commit

Permalink
set delete updatedCondition.itemName back
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Imperio authored and Felipe Imperio committed Nov 11, 2024
1 parent c862598 commit 3509bd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/entities/activity/model/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ function mapConditionalLogic(dto: ConditionalLogicDto | null) {
...rest,
activityItemName: itemName,
};

// @ts-expect-error
delete updatedCondition.itemName;
switch (condition.type) {
case 'INCLUDES_OPTION':
case 'NOT_INCLUDES_OPTION':
Expand Down

0 comments on commit 3509bd1

Please sign in to comment.