From d3d4d203b39fc24a90a08632f15a5ae14299d4ee Mon Sep 17 00:00:00 2001
From: Artem Astapenko <3767150+Jamakase@users.noreply.github.com>
Date: Thu, 20 Jan 2022 22:41:45 +0300
Subject: [PATCH] Fixes editing of already selected item for array of objects
editor (#9544)
---
.../Connector/ServiceForm/components/Sections/ArraySection.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airbyte-webapp/src/views/Connector/ServiceForm/components/Sections/ArraySection.tsx b/airbyte-webapp/src/views/Connector/ServiceForm/components/Sections/ArraySection.tsx
index a64add38b8943..941b3963f9ef8 100644
--- a/airbyte-webapp/src/views/Connector/ServiceForm/components/Sections/ArraySection.tsx
+++ b/airbyte-webapp/src/views/Connector/ServiceForm/components/Sections/ArraySection.tsx
@@ -45,7 +45,7 @@ export const ArraySection: React.FC<{
onStartEdit={(index) =>
addUnfinishedFlow(path, {
id: index,
- startValue: index < items.length ? items[index] : null,
+ startValue: index < items.length ? items : null,
})
}
onDone={() => removeUnfinishedFlow(path)}