1
0
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:
chh 2021-05-18 14:13:07 +03:00 committed by GitHub
parent b6b1b467e0
commit d9c6e5c52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");