Digital PCT265 story PCT-135: Prevent registering table cells on ListViewTemplate handleNewData when the page is not changing.
This commit is contained in:
parent
eac64ec506
commit
52e8ce7621
@ -87,8 +87,11 @@ open class MoleculeListTemplate: ThreeLayerTableViewController, TemplateProtocol
|
||||
|
||||
open override func handleNewData(_ pageModel: PageModelProtocol? = nil) {
|
||||
super.handleNewData(pageModel)
|
||||
setup()
|
||||
registerWithTable()
|
||||
|
||||
if pageModel != nil {
|
||||
setup()
|
||||
registerWithTable()
|
||||
}
|
||||
}
|
||||
|
||||
open override func updateUI(for molecules: [MoleculeModelProtocol]? = nil) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user