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 bug fix when manager_config.json not present
Rich Turnerbea4bc65942d
diff --git a/ui/app/manager/src/index.ts b/ui/app/manager/src/index.tsindex d90f6e0f0..f25393082 100644--- a/ui/app/manager/src/index.ts+++ b/ui/app/manager/src/index.ts@@ -137,7 +137,7 @@ const configURL = (CONFIG_URL_PREFIX || "") + "/manager_config.json";fetch(configURL).then(async (result) => {if (!result.ok) {- return undefined;+ return DefaultAppConfig;}return await result.json() as ManagerAppConfig;