mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
#23 added lab disabling switch
This commit is contained in:
parent
2d0638d1fd
commit
e38090c755
3 changed files with 5 additions and 15 deletions
|
@ -89,7 +89,7 @@ const HeaderUnconnected: FC<IProps> = memo(
|
|||
ФЛОУ
|
||||
</Link>
|
||||
|
||||
{is_user && (
|
||||
{is_user && process.env.REACT_APP_LAB_ENABLED === '1' && (
|
||||
<Link
|
||||
className={classNames(styles.item, { [styles.is_active]: pathname === URLS.BASE })}
|
||||
to={URLS.LAB}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue