mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
cleanup
This commit is contained in:
parent
7539e61182
commit
905d194eb5
1 changed files with 2 additions and 2 deletions
|
|
@ -1283,9 +1283,9 @@ const EditorComponent = (props) => {
|
|||
});
|
||||
};
|
||||
|
||||
const clonePage = async (pageId) => {
|
||||
const clonePage = (pageId) => {
|
||||
setIsSaving(true);
|
||||
await appVersionService
|
||||
appVersionService
|
||||
.clonePage(appId, editingVersion?.id, pageId)
|
||||
.then((data) => {
|
||||
const copyOfAppDefinition = JSON.parse(JSON.stringify(appDefinition));
|
||||
|
|
|
|||
Loading…
Reference in a new issue