mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
chore(console): align custom JWT path and hide the entrance for OSS
This commit is contained in:
parent
eed52dfc33
commit
5bfd917b28
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ export const useSidebarMenuItems = (): {
|
|||
{
|
||||
Icon: JwtClaims,
|
||||
title: 'customize_jwt',
|
||||
isHidden: !isDevFeaturesEnabled,
|
||||
isHidden: !(isCloud && isDevFeaturesEnabled),
|
||||
},
|
||||
{
|
||||
Icon: Hook,
|
||||
|
|
|
@ -243,7 +243,7 @@ function ConsoleContent() {
|
|||
</Route>
|
||||
)}
|
||||
{isCloud && isDevFeaturesEnabled && (
|
||||
<Route path="jwt-customizer">
|
||||
<Route path="customize-jwt">
|
||||
<Route index element={<CustomizeJwt />} />
|
||||
<Route path=":tokenType/:action" element={<CustomizeJwtDetails />} />
|
||||
</Route>
|
||||
|
|
Loading…
Reference in a new issue