mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Revert "add navigate to LensRendererExtension"
This reverts commit 03b486eca0.
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
03b486eca0
commit
7edfa23a99
1 file changed
+1
-7
@@ -4,9 +4,7 @@ import type {
|
||||
PageRegistration, StatusBarRegistration, KubeObjectStatusRegistration
|
||||
} from "./registries"
|
||||
import { observable } from "mobx";
|
||||
import { LensExtension } from "./lens-extension";
|
||||
import { LocationDescriptor } from "history";
|
||||
import { navigate } from "../renderer/navigation";
|
||||
import { LensExtension } from "./lens-extension"
|
||||
|
||||
export class LensRendererExtension extends LensExtension {
|
||||
@observable.shallow globalPages: PageRegistration[] = []
|
||||
@@ -17,8 +15,4 @@ export class LensRendererExtension extends LensExtension {
|
||||
@observable.shallow statusBarItems: StatusBarRegistration[] = []
|
||||
@observable.shallow kubeObjectDetailItems: KubeObjectDetailRegistration[] = []
|
||||
@observable.shallow kubeObjectMenuItems: KubeObjectMenuRegistration[] = []
|
||||
|
||||
navigate(location: LocationDescriptor) {
|
||||
navigate(location)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user