Skip to content

Frontend fixes #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: browser-check not generated
  • Loading branch information
FalkWolsky committed Oct 21, 2023
commit 18e1739009ac9fad322a799a40b00429e68bda9f
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export function getCompContainer<T extends CompConstructor>(params: GetContainer
const reduceFn = wrapWithPromiseHandling((act: CompAction) => {
let action = act;
if (reduceContext && reduceContext.readOnly && action.editDSL) {
log.error("editDSL should be false in view mode, action: ", action);
log.info("editDSL should be false in view mode, action: ", action);
action = { ...action, editDSL: false };
}

Expand Down
4 changes: 3 additions & 1 deletion client/packages/lowcoder/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const isEEGlobal = edition === "enterprise-global";
const isEE = edition === "enterprise" || isEEGlobal;
const isDev = nodeEnv === "development";
const isVisualizerEnabled = !!process.env.ENABLE_VISUALIZER;
const browserCheckFileName = `browser-check-${process.env.REACT_APP_COMMIT_ID}.js`;
// the file was never created
// const browserCheckFileName = `browser-check-${process.env.REACT_APP_COMMIT_ID}.js`;
const browserCheckFileName = `browser-check.js`;
const base = ensureLastSlash(process.env.PUBLIC_URL);

if (!apiProxyTarget && isDev) {
Expand Down