mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): hide mfa menu item before the feature is ready (#4499)
This commit is contained in:
parent
545b919074
commit
06df010202
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@ import ResourceIcon from '@/assets/icons/resource.svg';
|
|||
import Role from '@/assets/icons/role.svg';
|
||||
import SecurityLock from '@/assets/icons/security-lock.svg';
|
||||
import Web from '@/assets/icons/web.svg';
|
||||
import { isCloud } from '@/consts/env';
|
||||
import { isCloud, isProduction } from '@/consts/env';
|
||||
import useUserPreferences from '@/hooks/use-user-preferences';
|
||||
|
||||
type SidebarItem = {
|
||||
|
@ -82,6 +82,7 @@ export const useSidebarMenuItems = (): {
|
|||
{
|
||||
Icon: SecurityLock,
|
||||
title: 'mfa',
|
||||
isHidden: isProduction,
|
||||
},
|
||||
{
|
||||
Icon: Connection,
|
||||
|
|
Loading…
Reference in a new issue