mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-5919 avoid unnecessary navigations tasks (#3090)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user