Fix kind of WebLink catalog entity should be "WebLink"

This commit is contained in:
chh authored and GitHub committed 2021-05-18 12:32:10 +03:00
1 parent d08d5a24d7
commit f90b62d723
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ export type WebLinkSpec = {
export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> { export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> {
public readonly apiVersion = "entity.k8slens.dev/v1alpha1"; public readonly apiVersion = "entity.k8slens.dev/v1alpha1";
public readonly kind = "KubernetesCluster"; public readonly kind = "WebLink";
async onRun() { async onRun() {
window.open(this.spec.url, "_blank"); window.open(this.spec.url, "_blank");