Skip to content

Commit 5d03d01

Browse files
authored
Merge pull request #1184 from lowcoder-org/dev
Dev -> Main - v2.4.7 preparation
2 parents 8a9b88e + 834f47e commit 5d03d01

File tree

9 files changed

+29
-327
lines changed

9 files changed

+29
-327
lines changed

client/packages/lowcoder-cli-template-typescript/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"react-dom": "^18.2.0",
3333
"react-resize-detector": "^7.0.0",
3434
"typescript": "5.3.3",
35-
"vite": "^4.5.2"
35+
"vite": "^4.5.5"
3636
},
3737
"keywords": [
3838
"Lowcoder, Component, Template, Plugin, Demonstrator"

client/packages/lowcoder-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"react-dom": "^18.2.0",
3434
"react-json-view": "^1.21.3",
3535
"rollup-plugin-external-globals": "^0.7.1",
36-
"vite": "^4.5.2",
36+
"vite": "^4.5.5",
3737
"vite-plugin-css-injected-by-js": "^2.1.1",
3838
"vite-plugin-svgr": "^2.2.2"
3939
},

client/packages/lowcoder-comps/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
},
206206
"devDependencies": {
207207
"jest": "29.3.0",
208-
"vite": "^5.0.12",
208+
"vite": "^4.5.5",
209209
"vite-tsconfig-paths": "^3.6.0"
210210
}
211211
}

client/packages/lowcoder-plugin-demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"lowcoder-cli": "workspace:^",
3636
"lowcoder-sdk": "workspace:^",
3737
"typescript": "4.8.4",
38-
"vite": "^4.5.2"
38+
"vite": "^4.5.5"
3939
}
4040
}

client/packages/lowcoder-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"rollup-plugin-terser": "^7.0.2",
4848
"rollup-plugin-typescript": "^1.0.1",
4949
"typescript": "^4.8.4",
50-
"vite": "^4.5.2",
50+
"vite": "^4.5.5",
5151
"vite-plugin-svgr": "^2.2.2",
5252
"vite-tsconfig-paths": "^3.6.0"
5353
},

client/packages/lowcoder/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"http-proxy-middleware": "^2.0.6",
126126
"rollup-plugin-visualizer": "^5.9.2",
127127
"typescript": "^4.8.4",
128-
"vite": "^4.5.2",
128+
"vite": "^4.5.5",
129129
"vite-plugin-checker": "^0.5.1",
130130
"vite-plugin-dynamic-import": "^1.5.0",
131131
"vite-plugin-html": "^3.2.0",

client/packages/lowcoder/src/pages/editor/AppEditor.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const AppEditor = React.memo(() => {
115115
if (currentUser && application) {
116116
const lastEditedAt = dayjs(application?.lastEditedAt);
117117
const lastEditedDiff = dayjs().diff(lastEditedAt, 'minutes');
118-
const shouldBlockEditing = currentUser.id !== application?.editingUserId && lastEditedDiff < 3;
118+
const shouldBlockEditing = Boolean(application?.editingUserId) && currentUser.id !== application?.editingUserId && lastEditedDiff < 3;
119119
setBlockEditing(shouldBlockEditing);
120120
}
121121
}, [application, currentUser]);

0 commit comments

Comments
 (0)