Digital PCT265 defect CXTDT-579050: Carousel cell registration check break early.
This commit is contained in:
parent
b2ad684f00
commit
cae92360a2
@ -298,6 +298,8 @@ open class Carousel: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func hasSameCellRegistration(with carouselModel: CarouselModel, delegateObject: MVMCoreUIDelegateObject?) -> Bool {
|
func hasSameCellRegistration(with carouselModel: CarouselModel, delegateObject: MVMCoreUIDelegateObject?) -> Bool {
|
||||||
|
guard let registeredMoleculeIds else { return false }
|
||||||
|
|
||||||
let incomingIds = carouselModel.molecules.map { molecule in
|
let incomingIds = carouselModel.molecules.map { molecule in
|
||||||
if let info = getMoleculeInfo(with: molecule, delegateObject: delegateObject) {
|
if let info = getMoleculeInfo(with: molecule, delegateObject: delegateObject) {
|
||||||
return info.identifier
|
return info.identifier
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user