mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 10:27:49 +00:00
Update ConnectionModal.tsx
This commit is contained in:
@@ -442,6 +442,8 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {
|
|||||||
{t('subscription.connection.addToApp', { appName: selectedApp.name })}
|
{t('subscription.connection.addToApp', { appName: selectedApp.name })}
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
{/* Copy link button - hidden when hideLink is true */}
|
||||||
|
{!appConfig?.hideLink && (
|
||||||
<button
|
<button
|
||||||
onClick={copySubscriptionLink}
|
onClick={copySubscriptionLink}
|
||||||
className={`w-full h-11 rounded-xl border transition-all flex items-center justify-center gap-2 text-sm font-medium ${
|
className={`w-full h-11 rounded-xl border transition-all flex items-center justify-center gap-2 text-sm font-medium ${
|
||||||
@@ -453,6 +455,7 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {
|
|||||||
{copied ? <CheckIcon /> : <CopyIcon />}
|
{copied ? <CheckIcon /> : <CopyIcon />}
|
||||||
{copied ? t('subscription.connection.copied') : t('subscription.connection.copyLink')}
|
{copied ? t('subscription.connection.copied') : t('subscription.connection.copyLink')}
|
||||||
</button>
|
</button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user