From dc5174cbe4e38f97addeeea00663e9ca1d541235 Mon Sep 17 00:00:00 2001 From: "Khan, Arshad" Date: Thu, 28 Nov 2019 20:48:07 +0530 Subject: [PATCH] key name mismatch fix. --- MVMCoreUI/Molecules/Items/DropDownFilterTableViewCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Molecules/Items/DropDownFilterTableViewCell.swift b/MVMCoreUI/Molecules/Items/DropDownFilterTableViewCell.swift index 518e3b51..31a6cc61 100644 --- a/MVMCoreUI/Molecules/Items/DropDownFilterTableViewCell.swift +++ b/MVMCoreUI/Molecules/Items/DropDownFilterTableViewCell.swift @@ -33,7 +33,7 @@ import UIKit options: [.old, .new] ) { [weak self] object, change in guard change.newValue != change.oldValue, let self = self, - let options = self.dropDown?.json?.optionalArrayForKey(KeyValue) as? [NSString], + let options = self.dropDown?.json?.optionalArrayForKey("options") as? [NSString], let index = options.firstIndex(of: change.newValue!! as NSString), let moleculesArrays = self.json?.arrayForKey(KeyMolecules) as? [[[AnyHashable: Any]]] else { return }