ordering-ui-react-native 0.14.76 → 0.14.77

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.14.76",
3
+ "version": "0.14.77",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -316,6 +316,7 @@ export const ProductOptionsUI = (props: any) => {
316
316
  <View style={{ width: isSoldOut || maxProductQuantity <= 0 ? '100%' : '70%' }}>
317
317
  {productCart && !isSoldOut && maxProductQuantity > 0 && auth && orderState.options?.address_id && (
318
318
  <OButton
319
+ isDisabled={orderState.loading}
319
320
  onClick={() => handleSaveProduct()}
320
321
  imgRightSrc=''
321
322
  text={`${orderState.loading ? t('LOADING', 'Loading') : editMode ? t('UPDATE', 'Update') : t('ADD_TO_CART', 'Add to Cart')} ${productCart.total ? parsePrice(productCart?.total) : ''}`}