chore: add download config button for wireguard

This commit is contained in:
Shishkevich D. 2025-06-17 22:25:24 +07:00 committed by GitHub
parent ba50c99c10
commit e272c160b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -433,6 +433,9 @@
<a-tooltip title='{{ i18n "copy" }}'>
<a-button :style="{ minWidth: '24px' }" size="small" icon="snippets" @click="copy(infoModal.links[index])"></a-button>
</a-tooltip>
<a-tooltip title='{{ i18n "download" }}'>
<a-button :style="{ minWidth: '24px' }" size="small" icon="download" @click="FileManager.downloadTextFile(infoModal.links[index], `peer-${index + 1}.conf`)"></a-button>
</a-tooltip>
</tr-info-title>
<div v-html="infoModal.links[index].replaceAll(`\n`,`<br />`)" :style="{ borderRadius: '1rem', padding: '0.5rem' }" class="client-table-odd-row">
</div>