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

Rename KubernetesCluster MenuItem from Delete to Remove (#4854)

This commit is contained in:
Sebastian Malton 2022-02-14 09:24:38 -05:00 committed by GitHub
parent 668ac58cb3
commit 46585ee9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
await frame.waitForSelector(`.Menu >> text="Add to Hotbar"`);
await frame.waitForSelector(`.Menu >> text="Settings"`);
await frame.waitForSelector(`.Menu >> text="Disconnect"`);
await frame.waitForSelector(`.Menu >> text="Delete"`);
await frame.waitForSelector(`.Menu >> text="Remove"`);
});
it("should navigate around common cluster pages", async () => {

View File

@ -48,7 +48,7 @@ export function initCatalog({ openCommandDialog }: Dependencies) {
.on("contextMenuOpen", (entity, context) => {
if (entity.metadata?.source == "local") {
context.menuItems.push({
title: "Delete",
title: "Remove",
icon: "delete",
onClick: () => onClusterDelete(entity.getId()),
});