mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
451aa4ec1f
commit
8b67436e35
@ -49,11 +49,13 @@ export class KubernetesCluster implements CatalogEntity {
|
|||||||
{
|
{
|
||||||
icon: "settings",
|
icon: "settings",
|
||||||
title: "Settings",
|
title: "Settings",
|
||||||
|
onlyVisibleForSource: "local",
|
||||||
onClick: async () => context.navigate(`/cluster/${this.metadata.uid}/settings`)
|
onClick: async () => context.navigate(`/cluster/${this.metadata.uid}/settings`)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: "delete",
|
icon: "delete",
|
||||||
title: "Delete",
|
title: "Delete",
|
||||||
|
onlyVisibleForSource: "local",
|
||||||
onClick: async () => clusterStore.removeById(this.metadata.uid),
|
onClick: async () => clusterStore.removeById(this.metadata.uid),
|
||||||
confirm: {
|
confirm: {
|
||||||
message: `Remove Kubernetes Cluster "${this.metadata.name} from Lens?`
|
message: `Remove Kubernetes Cluster "${this.metadata.name} from Lens?`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user