diff options
| author | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-06-17 18:25:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-17 18:25:24 +0300 |
| commit | e272c160b12ff8ae8d0d3812756e986ace72a924 (patch) | |
| tree | ad4bb90cec600562e4c9396c79af30082d7f3344 | |
| parent | ba50c99c101e2164bc4daa7617b5b0096145a6f3 (diff) | |
chore: add download config button for wireguard
| -rw-r--r-- | web/html/modals/inbound_info_modal.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/html/modals/inbound_info_modal.html b/web/html/modals/inbound_info_modal.html index 9da3fc86..c9c36398 100644 --- a/web/html/modals/inbound_info_modal.html +++ b/web/html/modals/inbound_info_modal.html @@ -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> |
