Fix condition to render drawers
This commit is contained in:
2
react-native/app/routes/component.js
vendored
2
react-native/app/routes/component.js
vendored
@@ -43,7 +43,7 @@ export const Routes = () => {
|
||||
name={i18next.t('mobileApp.portals.drawerNavigation.button.label')}
|
||||
component={ListPortals}
|
||||
/>
|
||||
{portals || portals != 0
|
||||
{portals && portals.length
|
||||
? portals.map(item => {
|
||||
return (
|
||||
<Drawer.Screen
|
||||
|
||||
Reference in New Issue
Block a user