Skip to content

Commit 5797a6d

Browse files
committed
Fix prompt finished notif
1 parent 8d613c5 commit 5797a6d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/extension/ui/src/App.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,12 @@ export function App() {
205205
runOutput.updateOutput({ method: 'message', params: { debug: err } });
206206
client.desktopUI.toast.error(`Error running prompt: ${promptInput.includes('local') ? 'LOCAL' : promptInput}`)
207207
},
208+
onClose: () => {
209+
client.desktopUI.toast.success(`Prompt finished ${promptInput.includes('local') ? 'LOCAL' : promptInput}`)
210+
}
208211
}
209212
});
210-
client.desktopUI.toast.success(`Prompt finished ${promptInput.includes('local') ? 'LOCAL' : promptInput}`)
213+
211214
}
212215

213216
const renderPrompt = async () => {

0 commit comments

Comments
 (0)