Redirect to service screen index

This commit is contained in:
Arnaud Vergnet 2020-04-22 12:29:36 +02:00
parent b5d2f686dd
commit 87f0c01024

View file

@ -40,7 +40,9 @@ class ActionsDashBoardItem extends React.Component<Props> {
? "chevron-right" ? "chevron-right"
: "login"}/>} : "login"}/>}
onPress={isLoggedIn onPress={isLoggedIn
? () => this.props.navigation.navigate("services") ? () => this.props.navigation.navigate("services", {
screen: 'index'
})
: () => this.props.navigation.navigate("login")} : () => this.props.navigation.navigate("login")}
style={styles.list} style={styles.list}
/> />