ordering-ui-react-native 0.17.70-release → 0.17.71-release
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
|
@@ -49,7 +49,8 @@ const ProfileUI = (props: ProfileParams) => {
|
|
|
49
49
|
handleToggleAvalaibleStatusDriver,
|
|
50
50
|
userState,
|
|
51
51
|
isAvailableLoading,
|
|
52
|
-
isAlsea
|
|
52
|
+
isAlsea,
|
|
53
|
+
isHideDriverStatus
|
|
53
54
|
} = props;
|
|
54
55
|
|
|
55
56
|
const [{ user }] = useSession();
|
|
@@ -345,7 +346,7 @@ const ProfileUI = (props: ProfileParams) => {
|
|
|
345
346
|
/>
|
|
346
347
|
</CenterView>
|
|
347
348
|
|
|
348
|
-
{user?.level === 4 && (
|
|
349
|
+
{user?.level === 4 && !isHideDriverStatus && (
|
|
349
350
|
<EnabledStatusDriver>
|
|
350
351
|
<View style={{ flex: 1 }}>
|
|
351
352
|
<OText
|