Skip to content

Commit 424f429

Browse files
committed
start from suffix number 1
1 parent 353baf2 commit 424f429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/queries/queryComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ class QueryListComp extends QueryListTmpComp implements BottomResListComp {
778778
//Regenerate variable header
779779
jsonData.variables?.variables?.forEach(kv => {
780780
const [prefix, _] = (kv.key as string).split(/(?=\d+$)/);
781-
let i=2, newName = "";
781+
let i=1, newName = "";
782782
do {
783783
newName = prefix + (i++);
784784
} while(editorState.checkRename("", newName));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy