Skip to content

Commit 41f39a2

Browse files
committed
refactor: rebase branch
1 parent c13fe3c commit 41f39a2

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,7 @@ export class ClineProvider
330330
}
331331
},
332332
async () => {
333-
const state = await this.getState()
334-
return state.taskHistory || []
333+
return this.getTaskHistory()
335334
},
336335
() => this.getCurrentTask()?.taskId,
337336
async (taskId: string) => {

src/core/webview/webviewMessageHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3784,7 +3784,7 @@ export const webviewMessageHandler = async (
37843784

37853785
await scheduler.triggerManualPurge(
37863786
autoPurgeSettings,
3787-
state.taskHistory || [],
3787+
provider.getTaskHistory(),
37883788
currentTaskId,
37893789
async (taskId: string) => {
37903790
// Remove task from state when purged

webview-ui/src/i18n/locales/uk/settings.json

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)