Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

UN-3099 [FIX] Disable issue in hitl tab in configure destination and table line iss… (#1707)

vishnuszipstack75e23547ca55
diff --git a/frontend/src/components/agency/configure-connector-modal/ConfigureConnectorModal.jsx b/frontend/src/components/agency/configure-connector-modal/ConfigureConnectorModal.jsx
index 8e75ef847..1d095c046 100644
--- a/frontend/src/components/agency/configure-connector-modal/ConfigureConnectorModal.jsx
+++ b/frontend/src/components/agency/configure-connector-modal/ConfigureConnectorModal.jsx
@@ -83,14 +83,17 @@ function ConfigureConnectorModal({
const setUpdatedTabOptions = (tabOption) => {
setTabItems((prevTabOptions) => {
- // Check if tabOption already exists in prevTabOptions
- // Return previous state unchanged if it does or create new array
- if (prevTabOptions.some((opt) => opt?.key === tabOption?.key)) {
- return prevTabOptions;
- } else {
- const updatedTabOptions = [...prevTabOptions, tabOption];
- return updatedTabOptions;
+ const existingIndex = prevTabOptions.findIndex(
+ (opt) => opt?.key === tabOption?.key
+ );
+ if (existingIndex === -1) {
+ // Add new tab option
+ return [...prevTabOptions, tabOption];
}
+ // Update existing tab option (e.g., disabled state may have changed)
+ const updatedTabOptions = [...prevTabOptions];
+ updatedTabOptions[existingIndex] = tabOption;
+ return updatedTabOptions;
});
};
diff --git a/frontend/src/components/logging/logs-table/LogsTable.css b/frontend/src/components/logging/logs-table/LogsTable.css
index 407766768..af23d7f82 100644
--- a/frontend/src/components/logging/logs-table/LogsTable.css
+++ b/frontend/src/components/logging/logs-table/LogsTable.css
@@ -26,7 +26,7 @@
}
.logs-table-container .ant-table-container {
- flex: 1;
+ flex: 0 1 auto;
min-height: 0;
display: flex;
flex-direction: column;