fix: /routing-form/single - Don't clear edits when moving from one tab to the other (#8125)

Co-authored-by: gitstart-calcom <[email protected]>
Co-authored-by: Omar López <[email protected]>
Co-authored-by: Nafees Nazik <[email protected]>
Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-07-10 09:24:04 -04:00
1 parent 045828d4ab
commit e0ef30eb52
8 files changed
+114 -22

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ function getRoute(appName: string, pages: string[]) {
} as NotFound;
}
const mainPage = pages[0];
const appPage = routingConfig[mainPage] as AppPageType;
const appPage = routingConfig.layoutHandler || (routingConfig[mainPage] as AppPageType);
if (!appPage) {
return {