Update DeveloperSidebar to replace Print Server Debug with API Debug; adjust routeKeyMap for new API context debugging path.

This commit is contained in:
Tom Butcher 2025-09-05 23:17:58 +01:00
parent 1f7b7292fb
commit 12a4d46da8

View File

@ -18,17 +18,17 @@ const items = [
path: '/dashboard/developer/authcontextdebug' path: '/dashboard/developer/authcontextdebug'
}, },
{ {
key: 'printservercontextdebug', key: 'apicontextdebug',
label: 'Print Server Debug', label: 'API Debug',
icon: <Text>🖨</Text>, icon: <Text>🌐</Text>,
path: '/dashboard/developer/printservercontextdebug' path: '/dashboard/developer/apicontextdebug'
} }
] ]
const routeKeyMap = { const routeKeyMap = {
'/dashboard/developer/sessionstorage': 'sessionstorage', '/dashboard/developer/sessionstorage': 'sessionstorage',
'/dashboard/developer/authcontext': 'authcontextdebug', '/dashboard/developer/authcontextdebug': 'authcontextdebug',
'/dashboard/developer/printservercontext': 'printservercontextdebug' '/dashboard/developer/apicontextdebug': 'apicontextdebug'
} }
const DeveloperSidebar = (props) => { const DeveloperSidebar = (props) => {