We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91db351 commit cfabbeeCopy full SHA for cfabbee
src/pages/main.tsx
@@ -258,11 +258,8 @@ export default function main() {
258
await (window.api as any).hideHistoryView?.();
259
260
// Restore lastUrl and navigate detail view to initial address
261
- if (currentTask.lastUrl) {
262
- setCurrentUrl(currentTask.lastUrl);
263
- await (window.api as any).setDetailViewVisible?.(true);
264
- await (window.api as any).navigateDetailView?.(currentTask.lastUrl);
265
- }
+ setShowDetail(false);
+ await (window.api as any).setDetailViewVisible?.(false);
266
267
// Restore tool history
268
setToolHistory(currentTask.toolHistory || []);
0 commit comments