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
or-console fix for registration across multiple realms
Rich Turnera7d5e33f3e7a
diff --git a/client/src/main/webapp/src/or-app/or-console.html b/client/src/main/webapp/src/or-app/or-console.htmlindex ce333f691..2c62004da 100644--- a/client/src/main/webapp/src/or-app/or-console.html+++ b/client/src/main/webapp/src/or-app/or-console.html@@ -107,10 +107,7 @@*/registration: {type: Object,- value: function() {- let consoleStr = window.localStorage.getItem("OpenRemoteConsole:" + this.realm);- return consoleStr ? JSON.parse(consoleStr) : {};- }+ computed: 'computeRegistration(realm)'},/**@@ -190,6 +187,11 @@return shellApple || shellAndroid}+ computeRegistration(realm) {+ let consoleStr = window.localStorage.getItem("OpenRemoteConsole:" + realm);+ return consoleStr ? JSON.parse(consoleStr) : {};+ }+postNativeShellMessage(jsonMessage) {if (this.shellAndroid) {return window.MobileInterface.postMessage(JSON.stringify(jsonMessage));