Skip to content

Commit

Permalink
Fix race condition
Browse files Browse the repository at this point in the history
(note checked field changed -> note file changed -> on:check() triggered -> handleRecordCheck() complements checked state -> on:check() triggered, ...)
  • Loading branch information
H3mul committed Nov 2, 2024
1 parent 02ff7cc commit 4a80c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/views/Board/components/Board/CardList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<span class="checkbox-wrapper">
<Checkbox
checked={checked(item)}
on:check={() => {
on:click={() => {
onRecordCheck(item);
}}
/>
Expand Down

0 comments on commit 4a80c79

Please sign in to comment.