Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fasilkom UI Open Source Software
Kape
Commits
21f122c3
Commit
21f122c3
authored
May 24, 2017
by
M. Reza Qorib
Browse files
Edit supervisor redirection
parent
f0e9a9ef
Changes
1
Show whitespace changes
Inline
Side-by-side
assets/js/index.jsx
View file @
21f122c3
...
...
@@ -85,7 +85,7 @@ export default class App extends React.Component {
replace
({
pathname
:
'
/perusahaan
'
});
cb
();
}
else
if
(
App
.
getRole
()
===
'
supervisor
'
)
{
replace
({
pathname
:
'
/
rekap
'
});
replace
({
pathname
:
'
/
lowongan
'
});
cb
();
}
}
...
...
@@ -107,7 +107,7 @@ export default class App extends React.Component {
<
Route
path
=
"/login"
component
=
{
Login
}
/>
<
Route
component
=
{
all
(
Dashboard
)
}
onEnter
=
{
this
.
handleAuth
}
>
<
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
=
"/buat-lowongan"
component
=
{
company
(
CreateVacancy
)
}
/>
<
Route
path
=
"/buat-lowongan/:id"
component
=
{
company
(
CreateVacancy
)
}
/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment