UI: Fix selection in image gallery for system images.
This commit is contained in:
parent
607c04f59d
commit
d08f0467df
@ -612,7 +612,9 @@ export class ImageGalleryComponent extends PageComponent implements OnInit, OnDe
|
||||
if (this.selectionMode) {
|
||||
this.selectImage($event, image);
|
||||
} else {
|
||||
this.dataSource.selection.toggle(image);
|
||||
if (this.deleteEnabled(image)) {
|
||||
this.dataSource.selection.toggle(image);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user