@thecb/components 10.4.0-beta.3 → 10.4.0-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/package.json
CHANGED
|
@@ -153,15 +153,7 @@ const PaymentDetailsActions = ({
|
|
|
153
153
|
isInCustomerManagement ? noop : () => handleClick(obligations)
|
|
154
154
|
}
|
|
155
155
|
text="Pay Now"
|
|
156
|
-
variant={
|
|
157
|
-
isMobile
|
|
158
|
-
? isInCustomerManagement
|
|
159
|
-
? "disabledSmallSecondary"
|
|
160
|
-
: "smallSecondary"
|
|
161
|
-
: isInCustomerManagement
|
|
162
|
-
? "disabledSecondary"
|
|
163
|
-
: "secondary"
|
|
164
|
-
}
|
|
156
|
+
variant={isMobile ? "smallSecondary" : "secondary"}
|
|
165
157
|
dataQa="Pay Now"
|
|
166
158
|
disabled={isInCustomerManagement}
|
|
167
159
|
/>
|
|
@@ -172,7 +164,9 @@ const PaymentDetailsActions = ({
|
|
|
172
164
|
<Box padding="8px 0 0" width="100%">
|
|
173
165
|
<ButtonWithAction
|
|
174
166
|
isLoading={isLoading}
|
|
175
|
-
action={() =>
|
|
167
|
+
action={() =>
|
|
168
|
+
isInCustomerManagement ? noop : () => handleClick(obligations)
|
|
169
|
+
}
|
|
176
170
|
text="Pay Now"
|
|
177
171
|
variant={isMobile ? "smallSecondary" : "secondary"}
|
|
178
172
|
dataQa="Pay Now"
|