Fakultas Ilmu Komputer UI

Commit 21f122c3 authored by M. Reza Qorib's avatar M. Reza Qorib
Browse files

Edit supervisor redirection

parent f0e9a9ef
...@@ -85,7 +85,7 @@ export default class App extends React.Component { ...@@ -85,7 +85,7 @@ export default class App extends React.Component {
replace({ pathname: '/perusahaan' }); replace({ pathname: '/perusahaan' });
cb(); cb();
} else if (App.getRole() === 'supervisor') { } else if (App.getRole() === 'supervisor') {
replace({ pathname: '/rekap' }); replace({ pathname: '/lowongan' });
cb(); cb();
} }
} }
...@@ -107,7 +107,7 @@ export default class App extends React.Component { ...@@ -107,7 +107,7 @@ export default class App extends React.Component {
<Route path="/login" component={Login} /> <Route path="/login" component={Login} />
<Route component={all(Dashboard)} onEnter={this.handleAuth}> <Route component={all(Dashboard)} onEnter={this.handleAuth}>
<Route path="/transcript/:id" component={company(TranscriptPage)} /> <Route path="/transcript/:id" component={company(TranscriptPage)} />
<Route path="/lowongan" component={commonUser(VacancyPage)} /> <Route path="/lowongan" component={all(VacancyPage)} />
<Route path="/admin-lowongan" component={AdminVacancyPage} /> <Route path="/admin-lowongan" component={AdminVacancyPage} />
<Route path="/buat-lowongan" component={company(CreateVacancy)} /> <Route path="/buat-lowongan" component={company(CreateVacancy)} />
<Route path="/buat-lowongan/:id" component={company(CreateVacancy)} /> <Route path="/buat-lowongan/:id" component={company(CreateVacancy)} />
......
Supports Markdown
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