mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
fixed ability to share warguard in native format
This commit is contained in:
@@ -310,10 +310,12 @@ PageType {
|
||||
function fillConnectionTypeModel() {
|
||||
root.connectionTypesModel = [amneziaConnectionFormat]
|
||||
|
||||
if (currentIndex === ContainerProps.containerFromString("OpenVpn")) {
|
||||
var index = proxyContainersModel.mapToSource(currentIndex)
|
||||
|
||||
if (index === ContainerProps.containerFromString("amnezia-openvpn")) {
|
||||
root.connectionTypesModel.push(openVpnConnectionFormat)
|
||||
} else if (currentIndex === ContainerProps.containerFromString("wireGuardConnectionType")) {
|
||||
root.connectionTypesModel.push(amneziaConnectionFormat)
|
||||
} else if (index === ContainerProps.containerFromString("amnezia-wireguard")) {
|
||||
root.connectionTypesModel.push(wireGuardConnectionFormat)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user