mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
0d16f6132d
commit
182346095b
6 files changed
+13
-10
No files matched your search
@@ -7,7 +7,7 @@ export default class SupportPageMainExtension extends LensMainExtension {
|
||||
parentId: "help",
|
||||
label: "Support",
|
||||
click: () => {
|
||||
this.navigate(this.getPageUrl(pageUrl)); // todo: simplify
|
||||
this.navigate(pageUrl);
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import { Component, Interface, LensRendererExtension, Navigation } from "@k8slens/extensions";
|
||||
import { Component, Interface, LensRendererExtension } from "@k8slens/extensions";
|
||||
import { Support } from "./src/support";
|
||||
import { pageRoute, pageUrl } from "./src/common-vars";
|
||||
|
||||
@@ -16,10 +16,7 @@ export default class SupportPageRendererExtension extends LensRendererExtension
|
||||
statusBarItems = [
|
||||
{
|
||||
item: (
|
||||
<div
|
||||
className="flex align-center gaps hover-highlight"
|
||||
onClick={() => Navigation.navigate(this.getPageUrl(pageUrl))}
|
||||
>
|
||||
<div className="flex align-center gaps hover-highlight" onClick={() => this.navigate(pageUrl)}>
|
||||
<Component.Icon material="help" smallest/>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user