Fix for add to collection visibility issue (#990)
* Fix for add to collection visibility issue #Fixed - Fixed: Fixed a bug where users couldn't select a collection when they had a lot of them. * Adding settings from documentation, fixing code
This commit is contained in:
parent
9ee1125636
commit
bfb2dbbd4a
3 changed files with 17 additions and 3 deletions
|
@ -375,7 +375,7 @@ export class ActionService implements OnDestroy {
|
|||
*/
|
||||
addMultipleSeriesToCollectionTag(series: Array<Series>, callback?: VoidActionCallback) {
|
||||
if (this.collectionModalRef != null) { return; }
|
||||
this.collectionModalRef = this.modalService.open(BulkAddToCollectionComponent, { scrollable: true, size: 'md' });
|
||||
this.collectionModalRef = this.modalService.open(BulkAddToCollectionComponent, { scrollable: true, size: 'md', windowClass: 'collection' });
|
||||
this.collectionModalRef.componentInstance.seriesIds = series.map(v => v.id);
|
||||
this.collectionModalRef.componentInstance.title = 'New Collection';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue