Skip to content

Commit 6561ebf

Browse files
committed
* #RI-4975 - DB tries to connect if user added the db for the second time
* #RI-4976 - 'Add Db manually' the form is not cleared up if I open other forms
1 parent 723e727 commit 6561ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/src/slices/instances/instances.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ export function createInstanceStandaloneAction(
373373
databaseId,
374374
successMessages.DATABASE_ALREADY_EXISTS(),
375375
() => {
376-
dispatch(defaultInstanceChangingFailure(errorMessage))
376+
dispatch(defaultInstanceChangingSuccess())
377377
onSuccess?.(databaseId)
378378
},
379379
() => { dispatch(defaultInstanceChangingFailure(errorMessage)) }

0 commit comments

Comments
 (0)