React to addressed events getting updated for delete status
This commit is contained in:
parent
735231f8bc
commit
35ed7bc09f
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,8 @@
|
|||
|
||||
const {event, status, children}: Props = $props()
|
||||
|
||||
const deleted = deriveIsDeleted(event)
|
||||
// Editing a replaceable event hands this a different event
|
||||
const deleted = $derived(deriveIsDeleted(event))
|
||||
const history = $thunks.history
|
||||
const thunk = $derived($thunks.merge($history.filter(t => t.event.id === event.id)))
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue