Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ui/src/modules/destinations/pages/CreateDestination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ const CreateDestination = forwardRef<
setLoadingVersions(true)
try {
const response = await destinationService.getDestinationVersions(
connector.toLowerCase() === CONNECTOR_TYPES.APACHE_ICEBERG
connector === CONNECTOR_TYPES.APACHE_ICEBERG
? DESTINATION_INTERNAL_TYPES.ICEBERG
: DESTINATION_INTERNAL_TYPES.S3,
)
Expand Down Expand Up @@ -305,7 +305,7 @@ const CreateDestination = forwardRef<
}

useEffect(() => {
handleFetchSpec()
return handleFetchSpec()
}, [
connector,
version,
Expand Down
2 changes: 1 addition & 1 deletion ui/src/modules/destinations/pages/DestinationEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const DestinationEdit: React.FC<DestinationEditProps> = ({
}

useEffect(() => {
handleFetchSpec()
return handleFetchSpec()
}, [connector, selectedVersion, fromJobFlow, sourceConnector, sourceVersion])

const handleVersionChange = (value: string) => {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/modules/sources/pages/CreateSource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const CreateSource = forwardRef<CreateSourceHandle, CreateSourceProps>(
}

useEffect(() => {
handleFetchSpec()
return handleFetchSpec()
}, [connector, selectedVersion, setupType])

useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/modules/sources/pages/SourceEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const SourceEdit: React.FC<SourceEditProps> = ({
}

useEffect(() => {
handleFetchSpec()
return handleFetchSpec()
}, [connector, selectedVersion])

const resetVersionState = () => {
Expand Down