1
0
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:
Jari Kolehmainen 2020-11-11 21:01:10 +02:00
parent 03b486eca0
commit 7edfa23a99

View File

@ -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)
}
}