Fix programpage close behavior
This commit is contained in:
parent
f328e5c2e2
commit
9005a91d17
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user