mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-06-16 17:54:45 +00:00
revert changes
This commit is contained in:
parent
b122f3a6e0
commit
a2b022f507
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user