Check for blank string on owner name
This commit is contained in:
@@ -431,7 +431,7 @@ async function QueryDmsCustomerById(socket, JobData, CustomerId) {
|
|||||||
|
|
||||||
async function QueryDmsCustomerByName(socket, JobData) {
|
async function QueryDmsCustomerByName(socket, JobData) {
|
||||||
const ownerName = (
|
const ownerName = (
|
||||||
JobData.ownr_co_nm
|
JobData.ownr_co_nm && JobData.ownr_co_nm !== ""
|
||||||
? JobData.ownr_co_nm
|
? JobData.ownr_co_nm
|
||||||
: `${JobData.ownr_ln},${JobData.ownr_fn}`
|
: `${JobData.ownr_ln},${JobData.ownr_fn}`
|
||||||
).replace(replaceSpecialRegex, "");
|
).replace(replaceSpecialRegex, "");
|
||||||
|
|||||||
Reference in New Issue
Block a user