forked from vergnet/application-amicale
Redirect to service screen index
This commit is contained in:
parent
b5d2f686dd
commit
87f0c01024
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ class ActionsDashBoardItem extends React.Component<Props> {
|
|||
? "chevron-right"
|
||||
: "login"}/>}
|
||||
onPress={isLoggedIn
|
||||
? () => this.props.navigation.navigate("services")
|
||||
? () => this.props.navigation.navigate("services", {
|
||||
screen: 'index'
|
||||
})
|
||||
: () => this.props.navigation.navigate("login")}
|
||||
style={styles.list}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue