Skip to content

Commit

Permalink
Merge branch 'main' into travjenkins/bug/query-source-nester-capture-…
Browse files Browse the repository at this point in the history
…dataflow-reset
  • Loading branch information
travjenkins authored Mar 4, 2025
2 parents 912affb + 71bfc54 commit dbafa1f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/components/connectors/card/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ function ConnectorLogo({
loading="lazy"
alt=""
style={{
width: 'auto',
maxHeight: maxHeight ?? 75,
maxWidth: '100%',
padding: padding ?? '0 1rem',
}}
/>
Expand Down
27 changes: 12 additions & 15 deletions src/components/connectors/card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ function ConnectorCard({
marginBottom: recommended ? 1 : 2,
}}
>
<Box
<Stack
style={{
justifyContent: 'center',
alignItems: 'center',
}}
sx={
recommended
? {
Expand All @@ -59,21 +63,14 @@ function ConnectorCard({
: connectorImageBackgroundSx
}
>
<Stack
sx={{
justifyContent: 'center',
alignItems: 'center',
}}
>
<Box>{logo}</Box>
{logo}

{docsUrl ? (
<ExternalLink link={docsUrl}>
<FormattedMessage id="terms.documentation" />
</ExternalLink>
) : null}
</Stack>
</Box>
{docsUrl ? (
<ExternalLink link={docsUrl}>
<FormattedMessage id="terms.documentation" />
</ExternalLink>
) : null}
</Stack>

{recommended ? (
<Box
Expand Down
4 changes: 4 additions & 0 deletions src/stores/Binding/Store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,10 @@ const getInitialState = (
state.resourceConfigs = sortedResourceConfigs;
populateResourceConfigErrors(state, sortedResourceConfigs);

state.backfillAllBindings =
state.backfilledBindings.length ===
Object.keys(state.resourceConfigs).length;

state.bindingErrorsExist = isEmpty(state.bindings);
initializeCurrentBinding(
state,
Expand Down

0 comments on commit dbafa1f

Please sign in to comment.