Fakultas Ilmu Komputer UI

Commit a57e5d7f authored by Wildan Fahmi's avatar Wildan Fahmi
Browse files

Merge branch '1606889591-238' into 'master'

1606889591-238

See merge request !275
parents b0084993 cfcb0b2f
Pipeline #26827 passed with stages
in 44 minutes and 6 seconds
......@@ -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>
......
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