diff --git a/frontend/src/Editor/EditorFunc.jsx b/frontend/src/Editor/EditorFunc.jsx index 327f228668..fb68366e27 100644 --- a/frontend/src/Editor/EditorFunc.jsx +++ b/frontend/src/Editor/EditorFunc.jsx @@ -1059,6 +1059,15 @@ const EditorComponent = (props) => { cloneComponents(selectedComponents, appDefinition, currentPageId, appDefinitionChanged, false, true); }; + const cloningComponents = () => { + if (isVersionReleased) { + useAppVersionStore.getState().actions.enableReleasedVersionPopupState(); + + return; + } + cloneComponents(selectedComponents, appDefinition, currentPageId, appDefinitionChanged, true, false); + }; + const handleEditorEscapeKeyPress = () => { if (selectedComponents?.length > 0) { updateEditorState({ @@ -1673,7 +1682,7 @@ const EditorComponent = (props) => {