Changeset 47f4eaf for phonelux-frontend/src/components/NavbarComponent
Legend:
- Unmodified
- Added
- Removed
-
phonelux-frontend/src/components/NavbarComponent/NavbarComponent.js
rffd50db r47f4eaf 12 12 import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount'; 13 13 import CompareIcon from '@mui/icons-material/Compare'; 14 import BugReportIcon from '@mui/icons-material/BugReport'; 15 import ReportIcon from '@mui/icons-material/Report'; 16 import UpdateIcon from '@mui/icons-material/Update'; 14 17 15 18 export class NavbarComponent extends Component { … … 36 39 <Link style={{color: 'black'}} to={"/management/users"}> 37 40 <SupervisorAccountIcon style={{fontSize: '40px', marginTop: '10px', marginRight: '10px' }} className='navbar-superadmin-icon'/> 41 </Link> 42 </Tippy> : <></> 43 } 44 { 45 localStorage.getItem('token') && this.context.role == 'SUPERADMIN' ? 46 <Tippy placement='bottom' content='Преземање на содржина'> 47 <Link style={{color: 'black'}} to={"/scrapperinfo"}> 48 <UpdateIcon style={{fontSize: '40px', marginTop: '10px', marginRight: '10px' }} className='navbar-superadmin-icon'/> 49 </Link> 50 </Tippy> : <></> 51 } 52 { 53 localStorage.getItem('token') && (this.context.role == 'SUPERADMIN' || this.context.role == 'ADMIN') ? 54 <Tippy placement='bottom' content='Пријавени понуди'> 55 <Link style={{color: 'black'}} to={"/offerreport/reports"}> 56 <BugReportIcon style={{fontSize: '40px', marginTop: '10px', marginRight: '10px' }} className='navbar-offerreports-icon'/> 38 57 </Link> 39 58 </Tippy> : <></>
Note:
See TracChangeset
for help on using the changeset viewer.