From d4ae9329dcd501f30a088779335886e54d4394fe Mon Sep 17 00:00:00 2001 From: Maksym Dudnik Date: Wed, 16 Nov 2022 14:24:43 +0200 Subject: [PATCH] gateway list modal window update --- ui-ngx/proxy.conf.js | 4 +-- .../gateway-command-dialog.component.html | 12 ++++++-- .../gateway-command-dialog.component.ts | 30 +++++++++++++++++-- .../gateway/gateway-list-table-config.ts | 5 ++-- 4 files changed, 42 insertions(+), 9 deletions(-) diff --git a/ui-ngx/proxy.conf.js b/ui-ngx/proxy.conf.js index 71d572b924..12485801c0 100644 --- a/ui-ngx/proxy.conf.js +++ b/ui-ngx/proxy.conf.js @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -const forwardUrl = "https://thingsboard.cloud/"; -const wsForwardUrl = "wss://thingsboard.cloud/"; +const forwardUrl = "http://localhost:8080"; +const wsForwardUrl = "ws://localhost:8080"; const ruleNodeUiforwardUrl = forwardUrl; const PROXY_CONFIG = { diff --git a/ui-ngx/src/app/modules/home/components/gateway/gateway-command-dialog.component.html b/ui-ngx/src/app/modules/home/components/gateway/gateway-command-dialog.component.html index d5040b8714..34d37d73ea 100644 --- a/ui-ngx/src/app/modules/home/components/gateway/gateway-command-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/gateway/gateway-command-dialog.component.html @@ -44,8 +44,12 @@
-
- gateway.linux-macos + + gateway.windows + gateway.linux-macos + +
+
{{ linuxCode }}
- gateway.windows +
+
+
{{ windowsCode }}