diff --git a/apps/edr-freight-web/backoffice/src/App.tsx b/apps/edr-freight-web/backoffice/src/App.tsx index ab1356a42..72ada9a6e 100644 --- a/apps/edr-freight-web/backoffice/src/App.tsx +++ b/apps/edr-freight-web/backoffice/src/App.tsx @@ -89,7 +89,7 @@ const buildSidebarSections = (demoItems: SidebarItem[]): SidebarSection[] => [ icon: , }, { - label: "UM", + label: "User Management", href: "/um", icon: , }, diff --git a/packages/api-common/src/interceptors/response-transform.interceptor.ts b/packages/api-common/src/interceptors/response-transform.interceptor.ts index 4ee5282c9..402fcb600 100644 --- a/packages/api-common/src/interceptors/response-transform.interceptor.ts +++ b/packages/api-common/src/interceptors/response-transform.interceptor.ts @@ -54,7 +54,7 @@ export class ResponseTransformInterceptor implements NestInterceptor< }; } - if(path.startsWith("/api/positions/hierarchy")){ + if(path.startsWith("/api/positions/hierarchy") || path.startsWith("/api/positions/current")){ return data; }