mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Merge pull request #7933 from ToolJet/appdef/version-querypath-update
[appdef] - fixes: webpage url on creating new version with multiple pages
This commit is contained in:
commit
d18f478c21
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