mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-10 12:17:14 +00:00
fix(clients): remove the redundant download button on the SUB link row
Downloading the raw subscription URL as a .txt file duplicates the adjacent copy button for the vast majority of actual usage, and the row already has a real, useful download further down (the per-client config, e.g. AmneziaWG's own .conf). Left the JSON/Clash rows' download buttons alone -- only the plain SUB row's was removed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -413,9 +413,6 @@ export default function ClientInfoModal({
|
|||||||
<Tooltip title={t('copy')}>
|
<Tooltip title={t('copy')}>
|
||||||
<Button size="small" icon={<CopyOutlined />} aria-label={t('copy')} onClick={() => copyValue(subLink)} />
|
<Button size="small" icon={<CopyOutlined />} aria-label={t('copy')} onClick={() => copyValue(subLink)} />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip title={t('download')}>
|
|
||||||
<Button size="small" icon={<DownloadOutlined />} aria-label={t('download')} loading={downloadingFormat === 'standard'} disabled={downloadingFormat !== null} onClick={() => void downloadSubscription(subLink, 'standard')} />
|
|
||||||
</Tooltip>
|
|
||||||
<Popover
|
<Popover
|
||||||
trigger="click"
|
trigger="click"
|
||||||
placement="left"
|
placement="left"
|
||||||
|
|||||||
Reference in New Issue
Block a user