From 5a28fb6815d77265953f6770521a319f0beb923a Mon Sep 17 00:00:00 2001 From: tm-sanjay Date: Sat, 7 Jan 2023 18:01:28 +0530 Subject: [PATCH] store Id added to UI --- src/lib/WireGuard.js | 1 + src/www/index.html | 20 ++++++++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/lib/WireGuard.js b/src/lib/WireGuard.js index e68b7f98..2e2e3e52 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -134,6 +134,7 @@ AllowedIPs = ${client.address}/32`; const clients = Object.entries(config.clients).map(([clientId, client]) => ({ id: clientId, name: client.name, + storeId: client.storeId, enabled: client.enabled, address: client.address, publicKey: client.publicKey, diff --git a/src/www/index.html b/src/www/index.html index ad591b4c..34177ffc 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -39,7 +39,7 @@

-
@@ -52,7 +52,7 @@ Update →
-
+
-->
@@ -61,7 +61,7 @@
- +
@@ -234,8 +234,16 @@
+
+
+ + + {{client.storeId}} + +
+
-
+
@@ -284,6 +292,10 @@
+
+

No clients match your search.

+

+

There are no clients yet.