mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-09-04 02:41:14 +00:00
Update code for #446
This commit is contained in:
@@ -75,7 +75,9 @@ export default {
|
||||
},
|
||||
downloadAllPeer(){
|
||||
fetchGet(`/api/downloadAllPeers/${this.configuration.Name}`, {}, (res) => {
|
||||
console.log(res);
|
||||
res.data.forEach(x => {
|
||||
x.fileName = x.fileName + '.conf'
|
||||
})
|
||||
window.wireguard.generateZipFiles(res, this.configuration.Name)
|
||||
})
|
||||
}
|
||||
|
@@ -98,7 +98,7 @@ export default {
|
||||
<div class="mt-md-5 mt-3">
|
||||
<div class="container-fluid">
|
||||
<SystemStatus></SystemStatus>
|
||||
<div class="d-flex mb-4 configurationListTitle align-items-md-center gap-3 flex-column flex-md-row">
|
||||
<div class="d-flex mb-4 configurationListTitle align-items-md-center gap-2 flex-column flex-md-row">
|
||||
<h2 class="text-body d-flex mb-0">
|
||||
<LocaleText t="WireGuard Configurations"></LocaleText>
|
||||
</h2>
|
||||
|
Reference in New Issue
Block a user