mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Rename KubernetesCluster MenuItem from Delete to Remove
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
668ac58cb3
commit
6f9245f4c0
@ -48,7 +48,7 @@ export function initCatalog({ openCommandDialog }: Dependencies) {
|
|||||||
.on("contextMenuOpen", (entity, context) => {
|
.on("contextMenuOpen", (entity, context) => {
|
||||||
if (entity.metadata?.source == "local") {
|
if (entity.metadata?.source == "local") {
|
||||||
context.menuItems.push({
|
context.menuItems.push({
|
||||||
title: "Delete",
|
title: "Remove",
|
||||||
icon: "delete",
|
icon: "delete",
|
||||||
onClick: () => onClusterDelete(entity.getId()),
|
onClick: () => onClusterDelete(entity.getId()),
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user