fix: disable phone field editable
This commit is contained in:
parent
38d6f7edf5
commit
0cca8b3bf1
4 changed files with 12 additions and 23 deletions
|
|
@ -165,8 +165,7 @@ function edit (id, data, userToken) {
|
|||
'id_card_photo',
|
||||
'us_ssn',
|
||||
'subscriber_info',
|
||||
'name',
|
||||
'phone'
|
||||
'name'
|
||||
]
|
||||
const filteredData = _.pick(defaults, _.mapKeys(_.snakeCase, _.omitBy(_.isNil, data)))
|
||||
if (_.isEmpty(filteredData)) return getCustomerById(id)
|
||||
|
|
@ -753,8 +752,7 @@ function selectLatestData (customerData, customerEditedData) {
|
|||
'id_card_photo',
|
||||
'us_ssn',
|
||||
'subscriber_info',
|
||||
'name',
|
||||
'phone'
|
||||
'name'
|
||||
]
|
||||
_.map(field => {
|
||||
let fieldName = field
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue