fixed bug for removing old references in array
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f99d4e3c4d
commit
1932fd7231
@ -103,6 +103,8 @@ import VDS
|
||||
}
|
||||
|
||||
public func viewModelDidUpdate() {
|
||||
buttons.removeAll()
|
||||
|
||||
if let model = viewModel.leftLink {
|
||||
leftLink.set(with: model, delegateObject, additionalData)
|
||||
buttons.append(leftLink)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user