mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Revert "fix: Custom Resource Definitions sidebar item should navigate to the correct route"
This reverts commit 897e289514.
This commit is contained in:
1 parent
fda4b928d2
commit
7d46cb845d
2 files changed
+5
-5
No files matched your search
+3
-3
@@ -6,8 +6,8 @@ import { getInjectable } from "@ogre-tools/injectable";
|
||||
import { navigateToRouteInjectionToken } from "../../../navigate-to-route-injection-token";
|
||||
import crdListRouteInjectable from "./custom-resource-definitions.injectable";
|
||||
|
||||
const navigateToCustomResourceDefinitionsInjectable = getInjectable({
|
||||
id: "navigate-to-custom-resource-definitions",
|
||||
const navigateToCrdListInjectable = getInjectable({
|
||||
id: "navigate-to-crd-list",
|
||||
|
||||
instantiate: (di) => {
|
||||
const navigateToRoute = di.inject(navigateToRouteInjectionToken);
|
||||
@@ -17,4 +17,4 @@ const navigateToCustomResourceDefinitionsInjectable = getInjectable({
|
||||
},
|
||||
});
|
||||
|
||||
export default navigateToCustomResourceDefinitionsInjectable;
|
||||
export default navigateToCrdListInjectable;
|
||||
Reference in new issue
Block a user