Skip to content

Commit b62739d

Browse files
authored
Merge pull request #427 from lowcoder-org/frontend-fixes
Frontend fixes
2 parents 596c466 + 18e1739 commit b62739d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

client/packages/lowcoder-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lowcoder-sdk",
3-
"version": "2.1.0",
3+
"version": "2.1.6",
44
"type": "module",
55
"files": [
66
"src",

client/packages/lowcoder/src/comps/utils/useCompInstance.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export function getCompContainer<T extends CompConstructor>(params: GetContainer
205205
const reduceFn = wrapWithPromiseHandling((act: CompAction) => {
206206
let action = act;
207207
if (reduceContext && reduceContext.readOnly && action.editDSL) {
208-
log.error("editDSL should be false in view mode, action: ", action);
208+
log.info("editDSL should be false in view mode, action: ", action);
209209
action = { ...action, editDSL: false };
210210
}
211211

client/packages/lowcoder/vite.config.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ const isEEGlobal = edition === "enterprise-global";
2222
const isEE = edition === "enterprise" || isEEGlobal;
2323
const isDev = nodeEnv === "development";
2424
const isVisualizerEnabled = !!process.env.ENABLE_VISUALIZER;
25-
const browserCheckFileName = `browser-check-${process.env.REACT_APP_COMMIT_ID}.js`;
25+
// the file was never created
26+
// const browserCheckFileName = `browser-check-${process.env.REACT_APP_COMMIT_ID}.js`;
27+
const browserCheckFileName = `browser-check.js`;
2628
const base = ensureLastSlash(process.env.PUBLIC_URL);
2729

2830
if (!apiProxyTarget && isDev) {

0 commit comments

Comments
 (0)