Skip to content

Commit

Permalink
fix: delete condition item
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Nov 18, 2024
1 parent 992bd60 commit 8b9750d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/renderer/src/modules/settings/action-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export function ActionCard({
<DeleteTableCell
disabled={disabled}
onClick={() => {
data.condition.splice(orConditionIdx, 1)
data.condition[orConditionIdx].splice(conditionIdx, 1)
onChange(data)
}}
/>
Expand Down

0 comments on commit 8b9750d

Please sign in to comment.