Skip to content

Commit

Permalink
grab syncCatalog from form, else from api
Browse files Browse the repository at this point in the history
  • Loading branch information
teallarson committed Aug 3, 2022
1 parent 29bfa6d commit 7b1cbea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const CreateConnectionContent: React.FC<CreateConnectionContentProps> = ({
namespaceFormat: connectionFormValues?.namespaceFormat,
prefix: connectionFormValues?.prefix,
schedule: connectionFormValues?.schedule ?? undefined,
syncCatalog: schema,
syncCatalog: connectionFormValues?.syncCatalog ?? schema,
destination,
source,
catalogId,
Expand Down Expand Up @@ -113,7 +113,7 @@ const CreateConnectionContent: React.FC<CreateConnectionContentProps> = ({
</ContentCard>
);
}

console.log(connection);
return isLoading ? (
<LoadingSchema />
) : (
Expand Down

0 comments on commit 7b1cbea

Please sign in to comment.