fix(tasks): prevent right sidebar from opening after closing focus session

Remove unnecessary setSelectedId call from goToFocusMode() in the task
context menu. This aligns behavior with other focus mode entry points
(keyboard shortcut, header button) which only set currentTaskId.

Closes #6727
This commit is contained in:
Johannes Millan 2026-03-04 17:52:20 +01:00
parent 1388dfe1b5
commit 46d9e27d66

View file

@ -270,7 +270,6 @@ export class TaskContextMenuInnerComponent implements AfterViewInit {
goToFocusMode(): void {
this._taskService.setCurrentId(this.task.id);
this._taskService.setSelectedId(this.task.id);
this._store.dispatch(showFocusOverlay());
}