mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
fixes: Created a new version with multiple pages from second page, the new version shows the homepage with second page URL
This commit is contained in:
parent
91ff545d4e
commit
931028ca49
1 changed files with 4 additions and 0 deletions
|
|
@ -716,6 +716,10 @@ const EditorComponent = (props) => {
|
|||
isUpdatingEditorStateInProcess: false,
|
||||
});
|
||||
|
||||
if (versionSwitched) {
|
||||
props?.navigate(`/${getWorkspaceId()}/apps/${appId}/${appJson.pages[homePageId]?.handle}`);
|
||||
}
|
||||
|
||||
await useDataSourcesStore.getState().actions.fetchGlobalDataSources(data?.organization_id);
|
||||
await fetchDataSources(data.editing_version?.id);
|
||||
await fetchDataQueries(data.editing_version?.id, true, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue