Skip to content

Commit

Permalink
Fix prompt finished notif
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinMcNeil committed Sep 18, 2024
1 parent 8d613c5 commit 5797a6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/extension/ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,12 @@ export function App() {
runOutput.updateOutput({ method: 'message', params: { debug: err } });
client.desktopUI.toast.error(`Error running prompt: ${promptInput.includes('local') ? 'LOCAL' : promptInput}`)
},
onClose: () => {
client.desktopUI.toast.success(`Prompt finished ${promptInput.includes('local') ? 'LOCAL' : promptInput}`)
}
}
});
client.desktopUI.toast.success(`Prompt finished ${promptInput.includes('local') ? 'LOCAL' : promptInput}`)

}

const renderPrompt = async () => {
Expand Down

0 comments on commit 5797a6d

Please sign in to comment.