feat(admin): set default partner_id to companyId in end-customer dialog
All checks were successful
Staging Build / build (push) Successful in 3m28s
All checks were successful
Staging Build / build (push) Successful in 3m28s
This commit is contained in:
@@ -98,7 +98,7 @@ export default function CompanyCustomersPage() {
|
||||
setZip(customer ? customer.zip || '' : '')
|
||||
setCity(customer ? customer.city || '' : '')
|
||||
setVatId(customer ? customer.vat_id || '' : '')
|
||||
setPartnerId(customer ? customer.partner_id || '' : (partners.length > 0 ? partners[0].id : ''))
|
||||
setPartnerId(customer ? customer.partner_id || '' : companyId)
|
||||
setEmail(customer ? customer.email || '' : '')
|
||||
setError(null)
|
||||
setIsOpen(true)
|
||||
|
||||
Reference in New Issue
Block a user