From dad263a37be973c8fb393604b57356cb6d377c42 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 23 May 2023 09:09:13 -0400 Subject: [PATCH] Revert "chore: Cleanup custom resource route definition" This reverts commit f65e5672b5812d1d9e0648eb286acd8989325b40. --- .../custom-resources/custom-resources-route.injectable.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/common/front-end-routing/routes/cluster/custom-resources/custom-resources-route.injectable.ts b/packages/core/src/common/front-end-routing/routes/cluster/custom-resources/custom-resources-route.injectable.ts index ada023cf0b..5f0c35c76d 100644 --- a/packages/core/src/common/front-end-routing/routes/cluster/custom-resources/custom-resources-route.injectable.ts +++ b/packages/core/src/common/front-end-routing/routes/cluster/custom-resources/custom-resources-route.injectable.ts @@ -8,15 +8,15 @@ import type { Route } from "../../../front-end-route-injection-token"; import { frontEndRouteInjectionToken } from "../../../front-end-route-injection-token"; export interface CustomResourcesPathParameters { - group: string; - name: string; + group?: string; + name?: string; } const customResourcesRouteInjectable = getInjectable({ id: "custom-resources-route", instantiate: (): Route => ({ - path: "/crd/:group/:name", + path: "/crd/:group?/:name?", clusterFrame: true, isEnabled: computed(() => true), }),