Browse Source

redirect client login

pull/2/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
e942e5eccc
  1. 2
      src/views/Pages/Login/Login.js

2
src/views/Pages/Login/Login.js

@ -108,7 +108,7 @@ class Login extends Component {
let resData = result.data.data let resData = result.data.data
window.localStorage.setItem('menu_login', JSON.stringify(resData)); window.localStorage.setItem('menu_login', JSON.stringify(resData));
this.setState({ loader: false }) this.setState({ loader: false })
if(role_id == 48){ if(role_id == 28){
this.props.history.push("/dashboard-customer/48/50"); this.props.history.push("/dashboard-customer/48/50");
} }
this.props.history.push("/dashboard"); this.props.history.push("/dashboard");

Loading…
Cancel
Save