Commit 888a090b authored by qorri_di's avatar qorri_di

Screen Maintenance versi hardcode

parent d29f2f6c
......@@ -98,7 +98,7 @@ class Login extends Component {
if (response.ok) {
if (response.data.status === 'success') {
// console.log(response.data.data
if (response.data.data.role_id === 185 || response.data.data.role_id === 1){
if (response.data.data.role_id === 185){
this.props.history.push('/maintenance')
} else {
localStorage.setItem(Constant.TOKEN, response.data.data.token)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment