Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Class Project
Kape
Commits
cfcb0b2f
Commit
cfcb0b2f
authored
Dec 06, 2019
by
Wildan Fahmi
Browse files
1606889591-238
parent
b0084993
Changes
1
Hide whitespace changes
Inline
Side-by-side
assets/js/components/TopMenu.jsx
View file @
cfcb0b2f
...
...
@@ -208,8 +208,10 @@ export default class TopMenu extends React.Component {
description
=
{
data
.
user
.
email
}
/>
{
this
.
props
.
user
.
role
===
'
student
'
&&
<
Menu
.
Item
as
=
{
Link
}
to
=
"/profil-mahasiswa"
style
=
{
{
margin
:
'
10px
'
}
}
name
=
"Profil"
active
=
{
activeItem
===
'
Profil
'
}
onClick
=
{
this
.
handleItemClick
}
/>
}
<
Menu
.
Item
as
=
{
Link
}
to
=
"/edit-profil-mahasiswa"
style
=
{
{
margin
:
'
10px
'
}
}
name
=
"Edit Profil"
active
=
{
activeItem
===
'
EditProfil
'
}
onClick
=
{
this
.
handleItemClick
}
/>
<
div
>
<
Menu
.
Item
as
=
{
Link
}
to
=
"/profil-mahasiswa"
style
=
{
{
margin
:
'
10px
'
}
}
name
=
"Profil"
active
=
{
activeItem
===
'
Profil
'
}
onClick
=
{
this
.
handleItemClick
}
/>
<
Menu
.
Item
as
=
{
Link
}
to
=
"/edit-profil-mahasiswa"
style
=
{
{
margin
:
'
10px
'
}
}
name
=
"Edit Profil"
active
=
{
activeItem
===
'
EditProfil
'
}
onClick
=
{
this
.
handleItemClick
}
/>
</
div
>
}
<
Button
.
Group
floated
=
"right"
>
<
Button
as
=
{
Link
}
onClick
=
{
this
.
logout
}
loading
=
{
this
.
state
.
logoutLoading
}
name
=
"logout"
color
=
"blue"
size
=
"tiny"
>
Keluar
</
Button
></
Button
.
Group
>
</
Popup
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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