Rename KubernetesCluster MenuItem from Delete to Remove (#4854)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-02-14 09:24:38 -05:00
1 parent 668ac58cb3
commit 46585ee9d8
2 files changed
+2 -2

No files matched your search

+1 -1
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 () => {
+1 -1
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()),
});