Skip to content

Commit

Permalink
chore: Cleanup custom resource route definition
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Malton <sebastian@malton.name>
  • Loading branch information
Nokel81 committed May 31, 2023
1 parent 147be22 commit e641509
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<CustomResourcesPathParameters> => ({
path: "/crd/:group?/:name?",
path: "/crd/:group/:name",
clusterFrame: true,
isEnabled: computed(() => true),
}),
Expand Down

0 comments on commit e641509

Please sign in to comment.