mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
reset store selection and document list
This commit is contained in:
@@ -44,7 +44,8 @@ import { BreakpointObserver } from '@angular/cdk/layout';
|
|||||||
import {
|
import {
|
||||||
AppStore,
|
AppStore,
|
||||||
getCurrentFolder,
|
getCurrentFolder,
|
||||||
ReloadDocumentListAction
|
ReloadDocumentListAction,
|
||||||
|
SetSelectedNodesAction
|
||||||
} from '@alfresco/aca-shared/store';
|
} from '@alfresco/aca-shared/store';
|
||||||
import { Directionality } from '@angular/cdk/bidi';
|
import { Directionality } from '@angular/cdk/bidi';
|
||||||
|
|
||||||
@@ -144,7 +145,10 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
|
|||||||
}),
|
}),
|
||||||
takeUntil(this.onDestroy$)
|
takeUntil(this.onDestroy$)
|
||||||
)
|
)
|
||||||
.subscribe(() => this.store.dispatch(new ReloadDocumentListAction()));
|
.subscribe(() => {
|
||||||
|
this.store.dispatch(new SetSelectedNodesAction());
|
||||||
|
this.store.dispatch(new ReloadDocumentListAction());
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
Reference in New Issue
Block a user