Fix programpage close behavior

This commit is contained in:
Alex Mikhalev 2019-07-20 18:08:29 -06:00
parent f328e5c2e2
commit 9005a91d17

View File

@ -252,8 +252,8 @@ class ProgramPage extends React.Component<ProgramPageProps> {
@action.bound @action.bound
private close() { private close() {
// this.props.history.goBack(); const { deviceId } = this.props.match.params;
this.props.appState.history.goBack(); this.props.history.push({ pathname: route.device(deviceId), search: "" });
} }
@action.bound @action.bound