Skip to content

Commit

Permalink
CB-5919 avoid unnecessary navigations tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
devnaumov committed Nov 20, 2024
1 parent 21a70c3 commit 6b705e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/packages/core-projects/src/ProjectsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class ProjectsService extends Dependency {
this.getActiveProjectTask = new SyncExecutor();
this.onActiveProjectChange = new Executor();

this.onActiveProjectChange.before(navigationService.navigationTask);
this.onActiveProjectChange.before(navigationService.navigationTask, undefined, data => !isArraysEqual(data.projects, this.activeProjectIds));

this.userInfoResource.onUserChange.addHandler(() => {
this.onActiveProjectChange.execute({
Expand Down

0 comments on commit 6b705e4

Please sign in to comment.