Skip to content

Commit

Permalink
fix: Don't display this link for Clisk
Browse files Browse the repository at this point in the history
  • Loading branch information
Crash-- committed May 24, 2023
1 parent f08c916 commit 0bb9aa9
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions packages/cozy-harvest-lib/src/components/AccountForm/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,16 +304,17 @@ export class AccountForm extends PureComponent {
inputRefByName={this.inputRefByName}
t={t}
/>
{flag('harvest.inappconnectors.enabled') && (
<Link
className="u-mt-1"
variant="body1"
component="button"
onClick={this.showCannotConnectModal}
>
{t('accountForm.cannotConnectLink')}
</Link>
)}
{flag('harvest.inappconnectors.enabled') &&
!konnector.clientSide && (
<Link
className="u-mt-1"
variant="body1"
component="button"
onClick={this.showCannotConnectModal}
>
{t('accountForm.cannotConnectLink')}
</Link>
)}
{konnector.clientSide ? (
<ConnectCard
title={t('accountForm.clientSide.title')}
Expand Down

0 comments on commit 0bb9aa9

Please sign in to comment.