mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Bug fix: selection of correct navitem (#920)
This PR fixes the navbar when users are also highlighted
This commit is contained in:
parent
eeb15db665
commit
53d6d5d73c
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ export const Header = function Header({ switchDarkMode, darkMode }) {
|
|||
</Link>
|
||||
</li>
|
||||
|
||||
<li className={cx(`nav-item`, { active: pathName === '/' })}>
|
||||
<li className={cx(`nav-item`, { active: pathName === '/users' })}>
|
||||
<Link to={'/users'} className="nav-link">
|
||||
<span className="nav-link-icon d-md-none d-lg-inline-block">
|
||||
<img className="svg-icon" src="/assets/images/icons/users.svg" width="15" height="15" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue