summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2021-03-23 17:10:45 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-05-04 14:58:39 +0200
commitb14d048e6089233f5c698426652e85bfa1d89488 (patch)
treeb1542d03377740f7335c9848a751ad16426632f0 /gui
parent8c4edf29112a32f267d19717637bf2104c28b969 (diff)
Don't expose the full gateway out of the vpn module
We just care about locations and fullness.
Diffstat (limited to 'gui')
-rw-r--r--gui/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 0851efa..dae5ee5 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -177,7 +177,7 @@ Window {
ctx = JSON.parse(jsonModel.getJson())
// TODO pass QML_DEBUG variable to be hyper-verbose
//console.debug(jsonModel.getJson())
- gwSelector.model = Object.keys(ctx.gateways)
+ gwSelector.model = Object.keys(ctx.locations)
if (ctx.donateDialog == 'true') {
console.debug(jsonModel.getJson())