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
|
||||
private close() {
|
||||
// this.props.history.goBack();
|
||||
this.props.appState.history.goBack();
|
||||
const { deviceId } = this.props.match.params;
|
||||
this.props.history.push({ pathname: route.device(deviceId), search: "" });
|
||||
}
|
||||
|
||||
@action.bound
|
||||
|
Loading…
x
Reference in New Issue
Block a user