More work in header and distanceslider
This commit is contained in:
parent
29f9a2d476
commit
5bed310153
7 changed files with 64 additions and 48 deletions
|
|
@ -53,12 +53,6 @@ class Login extends React.Component {
|
|||
Bert.alert(T9n.get(`error.accounts.${error.reason}`), 'danger');
|
||||
} else {
|
||||
Bert.alert(this.t('Bienvenid@ de nuevo'), 'success');
|
||||
console.log(this.props.location.state);
|
||||
if (this.props.location.state &&
|
||||
this.props.location.state.center &&
|
||||
this.props.location.state.distance) {
|
||||
this.props.history.push('/subscriptions', this.props.location.state);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue