100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
UI updates: Removed autoclose for tunnels after reloading or closing the gateway widget (#1805)
Martin Peeters09467276403b
diff --git a/ui/component/or-dashboard-builder/src/widgets/gateway-widget.ts b/ui/component/or-dashboard-builder/src/widgets/gateway-widget.tsindex f78ea249e..3499cb925 100644--- a/ui/component/or-dashboard-builder/src/widgets/gateway-widget.ts+++ b/ui/component/or-dashboard-builder/src/widgets/gateway-widget.ts@@ -97,20 +97,9 @@ export class GatewayWidget extends OrWidget {}disconnectedCallback() {- if(this._activeTunnel) {- if(this._startedByUser) {- this._stopTunnel(this._activeTunnel).then(() => {- console.warn("Stopped the active tunnel, as it was created through the widget.");- });- } else {- console.warn("Keeping the active tunnel open, as it is not started through the widget.");- }- }-if (this._refreshTimer) {clearTimeout(this._refreshTimer);}-super.disconnectedCallback();}