Update Subscription.tsx

This commit is contained in:
Egor
2026-01-21 06:43:44 +03:00
committed by GitHub
parent 3532d26ffa
commit 1880cffad9

View File

@@ -455,7 +455,8 @@ export default function Subscription() {
{t('subscription.getConfig')}
</button>
{/* Subscription URL */}
{/* Subscription URL - hidden when hide_subscription_link is true */}
{!subscription.hide_subscription_link && (
<div className="flex gap-2">
<code className="flex-1 bg-dark-900/50 border border-dark-700/50 px-3 py-2 rounded-lg text-xs text-dark-300 overflow-x-auto scrollbar-hide break-all">
{subscription.subscription_url}
@@ -468,6 +469,7 @@ export default function Subscription() {
{copied ? <CheckIcon /> : <CopyIcon />}
</button>
</div>
)}
</div>
)}