Updated AWG

This commit is contained in:
Donald Zou
2025-09-16 07:46:25 +08:00
parent 83eeaa0d73
commit 51ba9a86fa
6 changed files with 184 additions and 233 deletions
@@ -55,9 +55,9 @@ window.dayjs = dayjs
</small>
<span class="badge rounded-3 ms-sm-auto"
:class="[props.config.protocol === 'wg' ? 'wireguardBg' : 'amneziawgBg' ]"
v-if="props.config.protocol === 'wg'">
{{ props.config.protocol === 'wg' ? 'WireGuard': 'AmneziaWG' }}
</span>
>
{{ props.config.protocol === 'wg' ? 'WireGuard': 'AmneziaWG' }}
</span>
</div>
<div class="card-body p-3 d-flex gap-3 flex-column">
<div>
@@ -92,6 +92,8 @@ window.dayjs = dayjs
<Transition name="app">
<ConfigurationQRCode
v-if="showQRCode"
:config="props.config"
:protocol="props.config.protocol"
@back="showQRCode = false"
:qrcode-data="config.peer_configuration_data.file"></ConfigurationQRCode>
</Transition>