mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 02:54:13 +00:00
CST-9639: Fix error when modal closes
This commit is contained in:
@@ -147,7 +147,7 @@ export class AccessControlFormContainerComponent<T extends DSpaceObject> impleme
|
||||
concatMap(() => this.selectableListService.getSelectableList(ITEM_ACCESS_CONTROL_SELECT_BITSTREAMS_LIST_ID)),
|
||||
take(1)
|
||||
).subscribe((list) => {
|
||||
this.state.bitstream.selectedBitstreams = list.selection;
|
||||
this.state.bitstream.selectedBitstreams = list?.selection || [];
|
||||
this.cdr.detectChanges();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user