mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
update selection witout locked files (#859)
This commit is contained in:
committed by
Denys Vuika
parent
4c274acb3c
commit
c7d11b93fc
@@ -123,9 +123,11 @@ export class DocumentListDirective implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
private updateSelection() {
|
||||
const selection = this.documentList.selection.map(entry => {
|
||||
entry['isLibrary'] = this.isLibrary;
|
||||
return entry;
|
||||
const selection = this.documentList.selection
|
||||
.filter(node => !this.isLockedNode(node.entry))
|
||||
.map(node => {
|
||||
node['isLibrary'] = this.isLibrary;
|
||||
return node;
|
||||
});
|
||||
|
||||
this.store.dispatch(new SetSelectedNodesAction(selection));
|
||||
|
Reference in New Issue
Block a user