diff --git a/packages/core-plugin-api/src/routing/RouteRef.ts b/packages/core-plugin-api/src/routing/RouteRef.ts index 499866a435..26e63c8f3a 100644 --- a/packages/core-plugin-api/src/routing/RouteRef.ts +++ b/packages/core-plugin-api/src/routing/RouteRef.ts @@ -80,7 +80,7 @@ export class RouteRefImpl /** @deprecated use `useRouteRef` instead */ get path() { - return this; + return this.config.path ?? ''; } get icon() {