feat: ensure contact fields are initialized to empty strings in agencies management form
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
7d425332c3
commit
6117867aba
1 changed files with 3 additions and 3 deletions
|
|
@ -174,9 +174,9 @@ function assignFormData(data: Institution) {
|
|||
provinceId: data.provinceId,
|
||||
selectedImage: data.selectedImage,
|
||||
status: data.status,
|
||||
contactEmail: data.contactEmail,
|
||||
contactName: data.contactName,
|
||||
contactTel: data.contactTel,
|
||||
contactEmail: data.contactEmail || '',
|
||||
contactName: data.contactName || '',
|
||||
contactTel: data.contactTel || '',
|
||||
bank: data.bank.map((v) => ({
|
||||
bankName: v.bankName,
|
||||
accountNumber: v.accountNumber,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue