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:
parent
ddbee471b2
commit
265b648669
@ -52,7 +52,6 @@ export interface KubernetesClusterSpec extends CatalogEntitySpec {
|
|||||||
background?: string;
|
background?: string;
|
||||||
};
|
};
|
||||||
accessibleNamespaces?: string[];
|
accessibleNamespaces?: string[];
|
||||||
triggerOnRunAfterOnClickDetailIcon?: boolean
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface KubernetesClusterMetadata extends CatalogEntityMetadata {
|
export interface KubernetesClusterMetadata extends CatalogEntityMetadata {
|
||||||
|
|||||||
@ -32,7 +32,6 @@ export interface WebLinkStatus extends CatalogEntityStatus {
|
|||||||
|
|
||||||
export type WebLinkSpec = {
|
export type WebLinkSpec = {
|
||||||
url: string;
|
url: string;
|
||||||
triggerOnRunAfterOnClickDetailIcon?: true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> {
|
export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> {
|
||||||
|
|||||||
@ -78,8 +78,7 @@ export function syncWeblinks() {
|
|||||||
labels: {}
|
labels: {}
|
||||||
},
|
},
|
||||||
spec: {
|
spec: {
|
||||||
url: weblinkData.url,
|
url: weblinkData.url
|
||||||
triggerOnRunAfterOnClickDetailIcon: true,
|
|
||||||
},
|
},
|
||||||
status: {
|
status: {
|
||||||
phase: "available",
|
phase: "available",
|
||||||
|
|||||||
@ -269,8 +269,7 @@ export function catalogEntityFromCluster(cluster: Cluster) {
|
|||||||
spec: {
|
spec: {
|
||||||
kubeconfigPath: cluster.kubeConfigPath,
|
kubeconfigPath: cluster.kubeConfigPath,
|
||||||
kubeconfigContext: cluster.contextName,
|
kubeconfigContext: cluster.contextName,
|
||||||
icon: {},
|
icon: {}
|
||||||
triggerOnRunAfterOnClickDetailIcon: true,
|
|
||||||
},
|
},
|
||||||
status: {
|
status: {
|
||||||
phase: cluster.disconnected ? "disconnected" : "connected",
|
phase: cluster.disconnected ? "disconnected" : "connected",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user