refactor: remove unnecessary step
This commit is contained in:
parent
31929efc5b
commit
050fb6589d
1 changed files with 0 additions and 1 deletions
|
|
@ -730,7 +730,6 @@ function getCustomerById (id) {
|
||||||
function assignCustomerData (customer) {
|
function assignCustomerData (customer) {
|
||||||
return getEditedData(customer.id)
|
return getEditedData(customer.id)
|
||||||
.then(customerEditedData => selectLatestData(customer, customerEditedData))
|
.then(customerEditedData => selectLatestData(customer, customerEditedData))
|
||||||
.then(_.assign(customer))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue