fix(schedule): report bulk removal outcomes from the page

This commit is contained in:
Chinesezjc committed 2026-10-22 14:56:35 +08:00
1 parent a6f92bfd79
commit da7996de07
1 file changed
+4 -1
@@ -192,7 +192,10 @@ export function apply(ctx: ClientContext): void {
...detail,
// The page has no creation form: a new reminder starts in a Session.
onNewTask: () => { ctx.uiWorkspace.startSession() },
onClearEnded: clearEnded,
onClearEnded: async () => {
const outcome = await clearEnded()
deleteToast.reportClear(outcome)
},
}),
}, TaskManagerPage))
yield ctx.slots.inject('sidebar.panellist', () => ctx.slots.register({