diff --git a/src/containers/DefaultLayout/DefaultLayout.js b/src/containers/DefaultLayout/DefaultLayout.js index af29be9..17045f1 100644 --- a/src/containers/DefaultLayout/DefaultLayout.js +++ b/src/containers/DefaultLayout/DefaultLayout.js @@ -269,9 +269,7 @@ class DefaultLayout extends Component { )} /> ) : (null); })} - { this.state.role_id == 28 ? ( - - ) : } + diff --git a/src/views/Pages/Login/Login.js b/src/views/Pages/Login/Login.js index d788e92..bc66be8 100644 --- a/src/views/Pages/Login/Login.js +++ b/src/views/Pages/Login/Login.js @@ -108,6 +108,9 @@ class Login extends Component { let resData = result.data.data window.localStorage.setItem('menu_login', JSON.stringify(resData)); this.setState({ loader: false }) + if(role_id == 48){ + this.props.history.push("/dashboard-customer/48/50"); + } this.props.history.push("/dashboard"); } else { NotificationManager.error('Login Failed', 'Failed');