Fix
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
503e1d0ed9
commit
9423216616
|
@ -186,9 +186,9 @@ module.exports = Self => {
|
|||
let payMethodWithIban = 4;
|
||||
|
||||
// Validate socialName format
|
||||
const socialName = changes.socialName || orgData.socialName;
|
||||
const isTaxDataChecked = changes.isTaxDataChecked || orgData.isTaxDataChecked;
|
||||
const hasChanges = orgData && changes;
|
||||
const socialName = changes.socialName || orgData.socialName;
|
||||
const isTaxDataChecked = hasChanges && (changes.isTaxDataChecked || orgData.isTaxDataChecked);
|
||||
|
||||
const socialNameChanged = hasChanges
|
||||
&& orgData.socialName != socialName;
|
||||
|
|
Loading…
Reference in New Issue