Fix group selection
This commit is contained in:
parent
f6f1a5519e
commit
d3a48d95c3
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ function PlanexScreen(props: Props) {
|
||||||
navigation.dispatch(CommonActions.setParams({ group: undefined }));
|
navigation.dispatch(CommonActions.setParams({ group: undefined }));
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [])
|
}, [props.route.params])
|
||||||
);
|
);
|
||||||
/**
|
/**
|
||||||
* Gets the Webview, with an error view on top if no group is selected.
|
* Gets the Webview, with an error view on top if no group is selected.
|
||||||
|
@ -388,7 +388,7 @@ function PlanexScreen(props: Props) {
|
||||||
navigation={navigation}
|
navigation={navigation}
|
||||||
ref={barRef}
|
ref={barRef}
|
||||||
onPress={sendMessage}
|
onPress={sendMessage}
|
||||||
seekAttention={currentGroup !== undefined}
|
seekAttention={currentGroup === undefined}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue