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

Remove triggerOnRunAfterOnClickDetailIcon

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen 2021-10-04 09:09:57 +03:00
parent ddbee471b2
commit 265b648669
No known key found for this signature in database
GPG Key ID: 54B44603D251B788
4 changed files with 2 additions and 6 deletions

View File

@ -52,7 +52,6 @@ export interface KubernetesClusterSpec extends CatalogEntitySpec {
background?: string;
};
accessibleNamespaces?: string[];
triggerOnRunAfterOnClickDetailIcon?: boolean
}
export interface KubernetesClusterMetadata extends CatalogEntityMetadata {

View File

@ -32,7 +32,6 @@ export interface WebLinkStatus extends CatalogEntityStatus {
export type WebLinkSpec = {
url: string;
triggerOnRunAfterOnClickDetailIcon?: true,
};
export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> {

View File

@ -78,8 +78,7 @@ export function syncWeblinks() {
labels: {}
},
spec: {
url: weblinkData.url,
triggerOnRunAfterOnClickDetailIcon: true,
url: weblinkData.url
},
status: {
phase: "available",

View File

@ -269,8 +269,7 @@ export function catalogEntityFromCluster(cluster: Cluster) {
spec: {
kubeconfigPath: cluster.kubeConfigPath,
kubeconfigContext: cluster.contextName,
icon: {},
triggerOnRunAfterOnClickDetailIcon: true,
icon: {}
},
status: {
phase: cluster.disconnected ? "disconnected" : "connected",