Skip to content

Commit

Permalink
fix:replaced RE_NAME with RENAME
Browse files Browse the repository at this point in the history
  • Loading branch information
saiprabhu-dandanayak committed Jul 11, 2024
1 parent 60ea5a4 commit 0c61ca0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function ActionEntityContextMenu(props: EntityContextMenuProps) {
);

const optionsTree = [
menuItems.includes(ActionEntityContextMenuItemsEnum.RE_NAME) &&
menuItems.includes(ActionEntityContextMenuItemsEnum.RENAME) &&
canManageAction && {
value: "rename",
onSelect: editActionName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { createContext, useMemo } from "react";
import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers";

export enum ActionEntityContextMenuItemsEnum {
RE_NAME = "Rename",
RENAME = "Rename",
SHOW_BINDING = "Show Bindings",
CONVERT_QUERY_MODULE_INSTANCE = "Create Module",
COPY = "Copy",
Expand All @@ -11,7 +11,7 @@ export enum ActionEntityContextMenuItemsEnum {
}

export const defaultMenuItems = [
ActionEntityContextMenuItemsEnum.RE_NAME,
ActionEntityContextMenuItemsEnum.RENAME,
ActionEntityContextMenuItemsEnum.DELETE,
ActionEntityContextMenuItemsEnum.SHOW_BINDING,
ActionEntityContextMenuItemsEnum.COPY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function JSCollectionEntityContextMenu(props: EntityContextMenuProps) {
);

const optionsTree = [
menuItems.includes(ActionEntityContextMenuItemsEnum.RE_NAME) &&
menuItems.includes(ActionEntityContextMenuItemsEnum.RENAME) &&
canManage && {
value: "rename",
onSelect: editJSCollectionName,
Expand Down

0 comments on commit 0c61ca0

Please sign in to comment.