ordering-ui-react-native 0.23.25 → 0.23.26
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
|
@@ -85,16 +85,16 @@ export const OrderDetailsUI = (props: OrderDetailsParams) => {
|
|
|
85
85
|
key?: string | null;
|
|
86
86
|
}>({ open: false, content: [], key: null });
|
|
87
87
|
|
|
88
|
-
const disabledActionsByInternet =
|
|
88
|
+
const disabledActionsByInternet = isNetConnected !== null && !isNetConnected && canSaveChangesOffline === false
|
|
89
89
|
|
|
90
90
|
const validStatusComplete = [9, 19, 23, 26]
|
|
91
91
|
|
|
92
92
|
const pendingOrderStatus = [1, 4, 7, 13]
|
|
93
93
|
|
|
94
94
|
const logisticOrderStatus = [4, 6, 7]
|
|
95
|
-
|
|
95
|
+
|
|
96
96
|
const deliveryTypes = [1, 7]
|
|
97
|
-
|
|
97
|
+
|
|
98
98
|
const showFloatButtonsPickUp: any = {
|
|
99
99
|
8: !isHideRejectButtons,
|
|
100
100
|
3: true,
|