Skip to content

Commit e8ff1f4

Browse files
committed
merge cleanup
1 parent 879e097 commit e8ff1f4

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

airbyte-webapp/src/components/connection/CatalogTree/next/CatalogTreeTableRow.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,10 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
3535
hasError,
3636
disabled,
3737
}) => {
38-
const {
39-
// primaryKey, cursorField,
40-
syncMode,
41-
destinationSyncMode,
42-
} = stream.config ?? {};
38+
const { primaryKey, cursorField, syncMode, destinationSyncMode } = stream.config ?? {};
4339
const isStreamEnabled = stream.config?.selected;
4440

45-
// const { defaultCursorField } = stream.stream ?? {};
41+
const { defaultCursorField } = stream.stream ?? {};
4642
const syncSchema = useMemo(
4743
() => ({
4844
syncMode,
@@ -53,7 +49,7 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
5349

5450
const [isSelected, selectForBulkEdit] = useBulkEditSelect(stream.id);
5551

56-
// const paths = useMemo(() => primitiveFields.map((field) => field.path), [primitiveFields]);
52+
const paths = useMemo(() => primitiveFields.map((field) => field.path), [primitiveFields]);
5753
const fieldCount = fields?.length ?? 0;
5854
const onRowClick = fieldCount > 0 ? () => onExpand() : undefined;
5955

@@ -115,7 +111,7 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
115111
path={cursorType === "sourceDefined" ? defaultCursorField : cursorField}
116112
onPathChange={onCursorChange}
117113
/>
118-
)} */}
114+
)}
119115
</HeaderCell>
120116
<HeaderCell ellipsis>
121117
{pkType && (
@@ -126,7 +122,7 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
126122
isMulti
127123
onPathChange={onPrimaryKeyChange}
128124
/>
129-
)} */}
125+
)}
130126
</HeaderCell>
131127
<Cell>
132128
<FontAwesomeIcon icon={faArrowRight} />

0 commit comments

Comments
 (0)