From e942e5eccc1c063b01d81037198fa5ad0cb89ab4 Mon Sep 17 00:00:00 2001 From: Muhammad Sulaiman Yusuf Date: Tue, 18 Oct 2022 06:16:52 +0700 Subject: [PATCH] redirect client login --- src/views/Pages/Login/Login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Pages/Login/Login.js b/src/views/Pages/Login/Login.js index bc66be8..77915fc 100644 --- a/src/views/Pages/Login/Login.js +++ b/src/views/Pages/Login/Login.js @@ -108,7 +108,7 @@ 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){ + if(role_id == 28){ this.props.history.push("/dashboard-customer/48/50"); } this.props.history.push("/dashboard");