mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
18 lines
480 B
TypeScript
18 lines
480 B
TypeScript
import { LensMainExtension, windowManager } from "@k8slens/extensions";
|
|
import { supportPageURL } from "./src/support.route";
|
|
|
|
export default class SupportPageMainExtension extends LensMainExtension {
|
|
appMenus = [
|
|
{
|
|
parentId: "help",
|
|
label: "Support",
|
|
click() {
|
|
windowManager.navigate({
|
|
channel: "menu:navigate", // fixme: use windowManager.ensureMainWindow from Tray's PR
|
|
url: supportPageURL(),
|
|
});
|
|
}
|
|
}
|
|
]
|
|
}
|