Skip to content

Commit 8b9750d

Browse files
committed
fix: delete condition item
1 parent 992bd60 commit 8b9750d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/renderer/src/modules/settings/action-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ export function ActionCard({
431431
<DeleteTableCell
432432
disabled={disabled}
433433
onClick={() => {
434-
data.condition.splice(orConditionIdx, 1)
434+
data.condition[orConditionIdx].splice(conditionIdx, 1)
435435
onChange(data)
436436
}}
437437
/>

0 commit comments

Comments
 (0)