@thecb/components 5.8.0 → 5.8.1-beta.0
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 +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/obligation/Obligation.js +3 -3
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +0 -1
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ const Obligation = ({
|
|
|
25
25
|
isPaymentPlan,
|
|
26
26
|
nextAutopayDate,
|
|
27
27
|
obligationAssocID,
|
|
28
|
-
|
|
28
|
+
inactive = false,
|
|
29
29
|
inactiveLookupTitle = "",
|
|
30
30
|
inactiveLookupInput = "Account",
|
|
31
31
|
inactiveLookupValue = ""
|
|
@@ -145,7 +145,7 @@ const Obligation = ({
|
|
|
145
145
|
nowrap
|
|
146
146
|
>
|
|
147
147
|
<Box padding="0">
|
|
148
|
-
<Cluster justify="flex-start" align="center">
|
|
148
|
+
<Cluster justify="flex-start" align="center" nowrap>
|
|
149
149
|
<IconModule
|
|
150
150
|
icon={config.icon}
|
|
151
151
|
iconDefault={config.iconDefault}
|
|
@@ -197,7 +197,7 @@ const Obligation = ({
|
|
|
197
197
|
</Box>
|
|
198
198
|
);
|
|
199
199
|
|
|
200
|
-
return
|
|
200
|
+
return inactive ? inactiveObligation : activeObligation;
|
|
201
201
|
};
|
|
202
202
|
|
|
203
203
|
export default Obligation;
|
|
@@ -35,7 +35,6 @@ const InactiveControlsModule = ({
|
|
|
35
35
|
modalOpen={modalOpen}
|
|
36
36
|
navigateToSettings={navigateToSettings}
|
|
37
37
|
deactivatePaymentSchedule={deactivatePaymentSchedule}
|
|
38
|
-
buttonLinkType
|
|
39
38
|
isMobile={isMobile}
|
|
40
39
|
paymentPlanSchedule={paymentPlanSchedule}
|
|
41
40
|
isPaymentPlan={isPaymentPlan}
|