We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 353baf2 commit 424f429Copy full SHA for 424f429
client/packages/lowcoder/src/comps/queries/queryComp.tsx
@@ -778,7 +778,7 @@ class QueryListComp extends QueryListTmpComp implements BottomResListComp {
778
//Regenerate variable header
779
jsonData.variables?.variables?.forEach(kv => {
780
const [prefix, _] = (kv.key as string).split(/(?=\d+$)/);
781
- let i=2, newName = "";
+ let i=1, newName = "";
782
do {
783
newName = prefix + (i++);
784
} while(editorState.checkRename("", newName));
0 commit comments