From 04e40a013ec397fbd0fbcf74edd6834a0b31489c Mon Sep 17 00:00:00 2001 From: arpitnath Date: Sun, 3 Sep 2023 18:12:56 +0530 Subject: [PATCH] on version switch: no updates should be triggeted to server --- frontend/src/Editor/EditorFunc.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/Editor/EditorFunc.jsx b/frontend/src/Editor/EditorFunc.jsx index 14a3c00905..8ca20fdca3 100644 --- a/frontend/src/Editor/EditorFunc.jsx +++ b/frontend/src/Editor/EditorFunc.jsx @@ -673,10 +673,9 @@ const EditorComponent = (props) => { updateEditorState({ isLoading: false, appDefinition: appJson, + isUpdatingEditorStateInProcess: false, }); - //! need to handle - const currentPageEvents = data.events.filter((event) => event.target === 'page' && event.sourceId === homePageId); for (const currentEvent of currentPageEvents ?? []) {