mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
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:
parent
1388dfe1b5
commit
46d9e27d66
1 changed files with 0 additions and 1 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue