mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
revert changes
This commit is contained in:
@@ -44,7 +44,6 @@ import { BreakpointObserver } from '@angular/cdk/layout';
|
||||
import {
|
||||
AppStore,
|
||||
getCurrentFolder,
|
||||
ReloadDocumentListAction,
|
||||
SetSelectedNodesAction
|
||||
} from '@alfresco/aca-shared/store';
|
||||
import { Directionality } from '@angular/cdk/bidi';
|
||||
@@ -141,14 +140,15 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
|
||||
this.router.events
|
||||
.pipe(
|
||||
filter(event => {
|
||||
return event instanceof NavigationStart;
|
||||
return (
|
||||
event instanceof NavigationStart &&
|
||||
// search employs reuse route strategy
|
||||
!event.url.startsWith('/search;')
|
||||
);
|
||||
}),
|
||||
takeUntil(this.onDestroy$)
|
||||
)
|
||||
.subscribe(() => {
|
||||
this.store.dispatch(new SetSelectedNodesAction());
|
||||
this.store.dispatch(new ReloadDocumentListAction());
|
||||
});
|
||||
.subscribe(() => this.store.dispatch(new SetSelectedNodesAction([])));
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
|
Reference in New Issue
Block a user