@thecb/components 11.4.2-beta.2 → 11.4.2-beta.4
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/index.cjs.js +2 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +0 -3
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +4 -1
package/package.json
CHANGED
|
@@ -49,9 +49,6 @@ const InactiveControlsModule = ({
|
|
|
49
49
|
id: obligationAssocID,
|
|
50
50
|
obligationSlug: config?.obligationSlug
|
|
51
51
|
};
|
|
52
|
-
debugger;
|
|
53
|
-
// eslint-disable-next-line no-console
|
|
54
|
-
console.debug("DeleteObligationAssoc (cb-components) payload", payload);
|
|
55
52
|
deleteObligationAssoc(payload);
|
|
56
53
|
};
|
|
57
54
|
return (
|
|
@@ -30,6 +30,7 @@ const RemoveAccountModalModule = ({
|
|
|
30
30
|
: accountType === "Property" && obligations.length > 1
|
|
31
31
|
? "properties"
|
|
32
32
|
: accountType.toLowerCase();
|
|
33
|
+
const accountsText = (accounts ?? "").trim();
|
|
33
34
|
|
|
34
35
|
return (
|
|
35
36
|
<Modal
|
|
@@ -37,7 +38,9 @@ const RemoveAccountModalModule = ({
|
|
|
37
38
|
hideModal={() => setModalIsOpen(false)}
|
|
38
39
|
modalOpen={modalIsOpen}
|
|
39
40
|
modalHeaderText={`Remove ${accountType}`}
|
|
40
|
-
modalBodyText={`Are you sure you want to remove the ${identifier}
|
|
41
|
+
modalBodyText={`Are you sure you want to remove the ${identifier}${
|
|
42
|
+
accountsText ? ` ${accountsText}` : ""
|
|
43
|
+
}? Any autopay scheduled against ${
|
|
41
44
|
obligations.length > 1 ? "them" : "it"
|
|
42
45
|
} will be deactivated.`}
|
|
43
46
|
continueButtonText="Remove"
|