From e641509e3dfdc0805a8fb3b7f193304f73f81a02 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 15 May 2023 14:33:04 -0400 Subject: [PATCH] chore: Cleanup custom resource route definition Signed-off-by: Sebastian Malton --- .../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 5f0c35c76d..ada023cf0b 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), }),