Sfoglia il codice sorgente

We should post state to webview at the end of `RooCodeAPI.clearCurrentTask()` (#1874)

We should post state to webview at the end of RooCodeAPI.clearCurrentTask
Wojciech Kordalski 9 mesi fa
parent
commit
5d993845b7
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/exports/api.ts

+ 1 - 0
src/exports/api.ts

@@ -60,6 +60,7 @@ export class API extends EventEmitter<RooCodeEvents> implements RooCodeAPI {
 
 	public async clearCurrentTask(lastMessage?: string) {
 		await this.provider.finishSubTask(lastMessage)
+		await this.provider.postStateToWebview()
 	}
 
 	public async cancelCurrentTask() {