0
Fork 0
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:
Darcy Ye 2024-04-01 16:12:14 +08:00
parent eed52dfc33
commit 5bfd917b28
No known key found for this signature in database
GPG key ID: B46F4C07EDEFC610
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ export const useSidebarMenuItems = (): {
{ {
Icon: JwtClaims, Icon: JwtClaims,
title: 'customize_jwt', title: 'customize_jwt',
isHidden: !isDevFeaturesEnabled, isHidden: !(isCloud && isDevFeaturesEnabled),
}, },
{ {
Icon: Hook, Icon: Hook,

View file

@ -243,7 +243,7 @@ function ConsoleContent() {
</Route> </Route>
)} )}
{isCloud && isDevFeaturesEnabled && ( {isCloud && isDevFeaturesEnabled && (
<Route path="jwt-customizer"> <Route path="customize-jwt">
<Route index element={<CustomizeJwt />} /> <Route index element={<CustomizeJwt />} />
<Route path=":tokenType/:action" element={<CustomizeJwtDetails />} /> <Route path=":tokenType/:action" element={<CustomizeJwtDetails />} />
</Route> </Route>