mirror of
https://github.com/lensapp/lens.git
synced 2024-11-10 10:36:25 +03:00
Catalog entity WebLink.kind 'KubernetesCluster' > 'WebLink' (#2799)
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
parent
b6b1b467e0
commit
d9c6e5c52f
@ -32,7 +32,7 @@ export type WebLinkSpec = {
|
||||
|
||||
export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> {
|
||||
public readonly apiVersion = "entity.k8slens.dev/v1alpha1";
|
||||
public readonly kind = "KubernetesCluster";
|
||||
public readonly kind = "WebLink";
|
||||
|
||||
async onRun() {
|
||||
window.open(this.spec.url, "_blank");
|
||||
|
Loading…
Reference in New Issue
Block a user