ordering-ui-react-native 0.22.77 → 0.22.79
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.22.
|
|
3
|
+
"version": "0.22.79",
|
|
4
4
|
"description": "Reusable components made in react native",
|
|
5
5
|
"main": "src/index.tsx",
|
|
6
6
|
"author": "ordering.inc",
|
|
@@ -102,7 +102,6 @@
|
|
|
102
102
|
"react-native-phone-number-input": "^2.0.0",
|
|
103
103
|
"react-native-picker-select": "^8.0.4",
|
|
104
104
|
"react-native-print": "^0.9.0",
|
|
105
|
-
"react-native-reanimated": "^1.13.1",
|
|
106
105
|
"react-native-recaptcha-that-works": "^1.2.0",
|
|
107
106
|
"react-native-restart": "^0.0.22",
|
|
108
107
|
"react-native-safe-area-context": "^3.1.8",
|
|
@@ -1030,7 +1030,7 @@ export const OrdersOption = (props: OrdersOptionParams) => {
|
|
|
1030
1030
|
const [checkNotificationStatus, setCheckNotificationStatus] = useState({ open: false, checked: false })
|
|
1031
1031
|
|
|
1032
1032
|
const getCombineTabsStoraged = async () => await _retrieveStoreData('combine_pending_and_progress_orders')
|
|
1033
|
-
const combineTabs = configState?.configs?.combine_pending_and_progress_orders?.value === '1'
|
|
1033
|
+
const combineTabs = typeof configState?.configs?.combine_pending_and_progress_orders === 'object' ? configState?.configs?.combine_pending_and_progress_orders?.value === '1' : getCombineTabsStoraged()
|
|
1034
1034
|
|
|
1035
1035
|
const ordersProps = {
|
|
1036
1036
|
...props,
|