Digital PCT265 defect CXTDT-579050: Carousel cell registration check break early.

This commit is contained in:
Hedden, Kyle Matthew 2024-07-03 18:45:29 -04:00
parent b2ad684f00
commit cae92360a2

View File

@ -298,6 +298,8 @@ open class Carousel: View {
}
func hasSameCellRegistration(with carouselModel: CarouselModel, delegateObject: MVMCoreUIDelegateObject?) -> Bool {
guard let registeredMoleculeIds else { return false }
let incomingIds = carouselModel.molecules.map { molecule in
if let info = getMoleculeInfo(with: molecule, delegateObject: delegateObject) {
return info.identifier