Skip to content

Commit

Permalink
fix: connected list on top in 3DS connectors , tax processors and PM …
Browse files Browse the repository at this point in the history
…authentication processors (#1605)
  • Loading branch information
kanikabansal-juspay authored Oct 15, 2024
1 parent 487012e commit f772fb9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ let make = () => {
/>
<PageLoaderWrapper screenState>
<div className="flex flex-col gap-10">
<ProcessorCards
configuredConnectors={configuredConnectors->ConnectorUtils.getConnectorTypeArrayFromListConnectors(
~connectorType=ConnectorTypes.PMAuthenticationProcessor,
)}
connectorsAvailableForIntegration=ConnectorUtils.pmAuthenticationConnectorList
urlPrefix="pm-authentication-processor/new"
connectorType=ConnectorTypes.PMAuthenticationProcessor
/>
<RenderIf condition={configuredConnectors->Array.length > 0}>
<LoadedTable
title="Connected Processors"
Expand All @@ -59,6 +51,14 @@ let make = () => {
collapseTableRow=false
/>
</RenderIf>
<ProcessorCards
configuredConnectors={configuredConnectors->ConnectorUtils.getConnectorTypeArrayFromListConnectors(
~connectorType=ConnectorTypes.PMAuthenticationProcessor,
)}
connectorsAvailableForIntegration=ConnectorUtils.pmAuthenticationConnectorList
urlPrefix="pm-authentication-processor/new"
connectorType=ConnectorTypes.PMAuthenticationProcessor
/>
</div>
</PageLoaderWrapper>
</div>
Expand Down
16 changes: 8 additions & 8 deletions src/screens/TaxProcessor/TaxProcessorList.res
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ let make = () => {
/>
<PageLoaderWrapper screenState>
<div className="flex flex-col gap-10">
<ProcessorCards
configuredConnectors={configuredConnectors->ConnectorUtils.getConnectorTypeArrayFromListConnectors(
~connectorType=ConnectorTypes.TaxProcessor,
)}
connectorsAvailableForIntegration=ConnectorUtils.taxProcessorList
urlPrefix="tax-processor/new"
connectorType=ConnectorTypes.TaxProcessor
/>
<RenderIf condition={configuredConnectors->Array.length > 0}>
<LoadedTable
title="Connected Processors"
Expand All @@ -58,6 +50,14 @@ let make = () => {
collapseTableRow=false
/>
</RenderIf>
<ProcessorCards
configuredConnectors={configuredConnectors->ConnectorUtils.getConnectorTypeArrayFromListConnectors(
~connectorType=ConnectorTypes.TaxProcessor,
)}
connectorsAvailableForIntegration=ConnectorUtils.taxProcessorList
urlPrefix="tax-processor/new"
connectorType=ConnectorTypes.TaxProcessor
/>
</div>
</PageLoaderWrapper>
</div>
Expand Down
20 changes: 10 additions & 10 deletions src/screens/ThreeDsProcessors/ThreeDsConnectorList.res
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ let make = () => {
/>
<PageLoaderWrapper screenState>
<div className="flex flex-col gap-10">
<ProcessorCards
configuredConnectors={configuredConnectors->ConnectorUtils.getConnectorTypeArrayFromListConnectors(
~connectorType=ConnectorTypes.ThreeDsAuthenticator,
)}
connectorsAvailableForIntegration={featureFlagDetails.isLiveMode
? ConnectorUtils.threedsAuthenticatorListForLive
: ConnectorUtils.threedsAuthenticatorList}
urlPrefix="3ds-authenticators/new"
connectorType=ConnectorTypes.ThreeDsAuthenticator
/>
<RenderIf condition={configuredConnectors->Array.length > 0}>
<LoadedTable
title="Connected Processors"
Expand All @@ -62,6 +52,16 @@ let make = () => {
collapseTableRow=false
/>
</RenderIf>
<ProcessorCards
configuredConnectors={configuredConnectors->ConnectorUtils.getConnectorTypeArrayFromListConnectors(
~connectorType=ConnectorTypes.ThreeDsAuthenticator,
)}
connectorsAvailableForIntegration={featureFlagDetails.isLiveMode
? ConnectorUtils.threedsAuthenticatorListForLive
: ConnectorUtils.threedsAuthenticatorList}
urlPrefix="3ds-authenticators/new"
connectorType=ConnectorTypes.ThreeDsAuthenticator
/>
</div>
</PageLoaderWrapper>
</div>
Expand Down

0 comments on commit f772fb9

Please sign in to comment.