Skip to content

Commit 706c49d

Browse files
committed
Merge remote-tracking branch '4sciencebitbucket/feature/CST-9636' into feature/CST-9636
2 parents d449108 + 84f4f01 commit 706c49d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/access-control-form-container/access-control-form-container.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class AccessControlFormContainerComponent<T extends DSpaceObject> impleme
147147
concatMap(() => this.selectableListService.getSelectableList(ITEM_ACCESS_CONTROL_SELECT_BITSTREAMS_LIST_ID)),
148148
take(1)
149149
).subscribe((list) => {
150-
this.state.bitstream.selectedBitstreams = list.selection;
150+
this.state.bitstream.selectedBitstreams = list?.selection || [];
151151
this.cdr.detectChanges();
152152
});
153153
}

0 commit comments

Comments
 (0)