@thecb/components 11.1.0-beta.4 → 11.1.0-beta.5
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 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/obligation/Obligation.stories.js +1 -1
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +2 -2
package/package.json
CHANGED
|
@@ -178,7 +178,7 @@ const PaymentDetailsActions = ({
|
|
|
178
178
|
text={text}
|
|
179
179
|
variant={variant}
|
|
180
180
|
dataQa={text}
|
|
181
|
-
disabled={disableActions}
|
|
181
|
+
disabled={disableActions || isInCart}
|
|
182
182
|
/>
|
|
183
183
|
</Box>
|
|
184
184
|
)}
|
|
@@ -192,7 +192,7 @@ const PaymentDetailsActions = ({
|
|
|
192
192
|
variant={variant}
|
|
193
193
|
dataQa={text}
|
|
194
194
|
extraStyles={isMobile && `flex-grow: 1; width: 100%; margin: 0;`}
|
|
195
|
-
disabled={disableActions}
|
|
195
|
+
disabled={disableActions || isInCart}
|
|
196
196
|
/>
|
|
197
197
|
</Box>
|
|
198
198
|
)}
|