mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
# Conflicts: # extensions/support-page/main.ts # src/extensions/renderer-api/navigation.ts
15 lines
354 B
TypeScript
15 lines
354 B
TypeScript
import { LensMainExtension } from "@k8slens/extensions";
|
|
import { pageUrl } from "./src/common-vars";
|
|
|
|
export default class SupportPageMainExtension extends LensMainExtension {
|
|
appMenus = [
|
|
{
|
|
parentId: "help",
|
|
label: "Support",
|
|
click: () => {
|
|
this.navigate(this.getPageUrl(pageUrl)); // todo: simplify
|
|
}
|
|
}
|
|
]
|
|
}
|