1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix kind of WebLink catalog entity should be "WebLink"

This commit is contained in:
chh 2021-05-18 12:32:10 +03:00 committed by GitHub
parent d08d5a24d7
commit f90b62d723
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");