mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fixes: execution of page switch action
This commit is contained in:
parent
9d2113ff8c
commit
d5e330541a
1 changed files with 8 additions and 7 deletions
|
|
@ -239,13 +239,6 @@ const EditorComponent = (props) => {
|
|||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [JSON.stringify({ appDefinition, currentPageId, dataQueries })]);
|
||||
|
||||
const editorRef = {
|
||||
appDefinition: appDefinition,
|
||||
queryConfirmationList: queryConfirmationList,
|
||||
updateQueryConfirmationList: updateQueryConfirmationList,
|
||||
navigate: props.navigate,
|
||||
};
|
||||
|
||||
const handleMessage = (event) => {
|
||||
const { data } = event;
|
||||
|
||||
|
|
@ -1442,6 +1435,14 @@ const EditorComponent = (props) => {
|
|||
: '';
|
||||
const deviceWindowWidth = 450;
|
||||
|
||||
const editorRef = {
|
||||
appDefinition: appDefinition,
|
||||
queryConfirmationList: queryConfirmationList,
|
||||
updateQueryConfirmationList: updateQueryConfirmationList,
|
||||
navigate: props.navigate,
|
||||
switchPage: switchPage,
|
||||
};
|
||||
|
||||
if (isLoading) {
|
||||
return (
|
||||
<div className="apploader">
|
||||
|
|
|
|||
Loading…
Reference in a new issue