[Refactor] improve type safety in dialog service (#2283)

This commit is contained in:
bymyself
2025-01-18 13:46:57 -07:00
committed by GitHub
parent 1a4e77a3ab
commit 816574e0ab
2 changed files with 16 additions and 18 deletions

View File

@@ -942,7 +942,7 @@ export class ComfyApp {
api.addEventListener('execution_error', ({ detail }) => {
this.lastExecutionError = detail
useDialogService().showExecutionErrorDialog(detail)
useDialogService().showExecutionErrorDialog({ error: detail })
this.canvas.draw(true, true)
})