Skip to content
Merged
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
Next Next commit
start from suffix number 1
  • Loading branch information
Imiss-U1025 committed Feb 10, 2025
commit 424f429c9fec5514ce2f28fec6ff331b741e714f
2 changes: 1 addition & 1 deletion client/packages/lowcoder/src/comps/queries/queryComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ class QueryListComp extends QueryListTmpComp implements BottomResListComp {
//Regenerate variable header
jsonData.variables?.variables?.forEach(kv => {
const [prefix, _] = (kv.key as string).split(/(?=\d+$)/);
let i=2, newName = "";
let i=1, newName = "";
do {
newName = prefix + (i++);
} while(editorState.checkRename("", newName));
Expand Down