Skip to content

Commit 473f343

Browse files
committed
#RI-4121 - fix db index when editing connection
1 parent 6f5312b commit 473f343

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redisinsight/ui/src/pages/home/components/AddInstanceForm/InstanceFormWrapper.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ const InstanceFormWrapper = (props: Props) => {
371371
name,
372372
host,
373373
port,
374+
db,
374375
username,
375376
password,
376377
timeout,
@@ -384,6 +385,7 @@ const InstanceFormWrapper = (props: Props) => {
384385
name,
385386
host,
386387
port: +port,
388+
db: +(db || 0),
387389
username,
388390
password,
389391
compressor,

0 commit comments

Comments
 (0)