feat navbar
: add extensions button for fun
This commit is contained in:
parent
5bfe0d50f9
commit
64c230d73a
1 changed files with 8 additions and 1 deletions
|
@ -2,7 +2,7 @@ import * as React from 'react';
|
|||
import { useState } from 'react';
|
||||
import { Link, NavLink } from 'react-router-dom';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faCogs, faLayerGroup, faSignOutAlt } from '@fortawesome/free-solid-svg-icons';
|
||||
import { faCogs, faLayerGroup, faSignOutAlt, faPuzzlePiece } from '@fortawesome/free-solid-svg-icons';
|
||||
import { useStoreState } from 'easy-peasy';
|
||||
import { ApplicationStore } from '@/state';
|
||||
import SearchContainer from '@/components/dashboard/search/SearchContainer';
|
||||
|
@ -78,6 +78,13 @@ export default () => {
|
|||
</a>
|
||||
</Tooltip>
|
||||
)}
|
||||
{rootAdmin && (
|
||||
<Tooltip placement={'bottom'} content={'Extensions'}>
|
||||
<a href={'/admin/extensions'} rel={'noreferrer'}>
|
||||
<FontAwesomeIcon icon={faPuzzlePiece} />
|
||||
</a>
|
||||
</Tooltip>
|
||||
)}
|
||||
<AdditionalItems />
|
||||
<Tooltip placement={'bottom'} content={'Account Settings'}>
|
||||
<NavLink to={'/account'}>
|
||||
|
|
Loading…
Reference in a new issue