refactored to use new EmployeeCellViewModel
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
4f072677a5
commit
e1521c47a8
@ -122,7 +122,7 @@ extension EmployeesViewController: UITableViewDataSource {
|
|||||||
return UITableViewCell()
|
return UITableViewCell()
|
||||||
}
|
}
|
||||||
let employee = viewModel.employees[indexPath.row]
|
let employee = viewModel.employees[indexPath.row]
|
||||||
cell.configure(with: employee)
|
cell.configure(with: EmployeeCellViewModel(employee: employee))
|
||||||
return cell
|
return cell
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user