Skip to content

Commit

Permalink
CB-5919 avoid unnecessary navigations tasks (#3090)
Browse files Browse the repository at this point in the history
Co-authored-by: Evgenia <[email protected]>
  • Loading branch information
devnaumov and EvgeniaBzzz authored Nov 21, 2024
1 parent 94aaf7b commit 56b9eab
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 56b9eab

Please sign in to comment.