@cakemail-org/ui-components-v2 2.2.61 → 2.2.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -12929,7 +12929,7 @@ function GenericWrapper(_a) {
|
|
|
12929
12929
|
userBrand: userBrand,
|
|
12930
12930
|
account: account ? new AccountModel(account) : new AccountModel({}),
|
|
12931
12931
|
user: user ? new UserModel(user) : new UserModel({}),
|
|
12932
|
-
customer: customer ? new CustomerModel(customer) : undefined,
|
|
12932
|
+
customer: customer !== undefined ? customer === null ? null : new CustomerModel(customer) : undefined,
|
|
12933
12933
|
} },
|
|
12934
12934
|
includeHandlers && React.createElement(React.Fragment, null,
|
|
12935
12935
|
React.createElement(Dialog, { ref: dialogRef }),
|
package/dist/esm/index.js
CHANGED
|
@@ -12909,7 +12909,7 @@ function GenericWrapper(_a) {
|
|
|
12909
12909
|
userBrand: userBrand,
|
|
12910
12910
|
account: account ? new AccountModel(account) : new AccountModel({}),
|
|
12911
12911
|
user: user ? new UserModel(user) : new UserModel({}),
|
|
12912
|
-
customer: customer ? new CustomerModel(customer) : undefined,
|
|
12912
|
+
customer: customer !== undefined ? customer === null ? null : new CustomerModel(customer) : undefined,
|
|
12913
12913
|
} },
|
|
12914
12914
|
includeHandlers && React__default.createElement(React__default.Fragment, null,
|
|
12915
12915
|
React__default.createElement(Dialog, { ref: dialogRef }),
|