We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentcbd7ab4 commit3151738Copy full SHA for 3151738
client/packages/lowcoder/src/constants/routesURL.ts
@@ -2,6 +2,7 @@ import { AppViewMode, MarketplaceType } from "constants/applicationConstants";
2
import{LocationDescriptor}from"history";
3
import{UserGuideLocationState}from"pages/tutorials/tutorialsConstant";
4
import{DatasourceType}from"@lowcoder-ee/constants/queryConstants";
5
+importhistoryfrom"@lowcoder-ee/util/history";
6
7
exportconstBASE_URL="/";
8
exportconstADMIN_AUTH_URL="/admin/login";
@@ -113,7 +114,7 @@ export const buildAppRouteWithState = (
113
114
};
115
116
exportfunctionpreview(applicationId:string){
-window.open(APPLICATION_VIEW_URL(applicationId,"preview"));
117
+window.open(history.createHref({pathname:APPLICATION_VIEW_URL(applicationId,"preview")}));
118
}
119
120
exportconstbuildGroupId=(groupId:string)=>`${PERMISSION_SETTING}/${groupId}`;