From fa8804a30da6d65703846d8d4f064fc9176b20d6 Mon Sep 17 00:00:00 2001 From: Moe Date: Fri, 30 Jun 2023 10:49:11 -0700 Subject: [PATCH] fix monitor state loading into UI for edit --- web/assets/js/bs5.monitorStates.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/assets/js/bs5.monitorStates.js b/web/assets/js/bs5.monitorStates.js index acd15dfd..e5e59e4a 100644 --- a/web/assets/js/bs5.monitorStates.js +++ b/web/assets/js/bs5.monitorStates.js @@ -143,13 +143,14 @@ $(document).ready(function(){ var drawMonitor = function(preloadedData){ var MonitorSettings = definitions['Monitor Settings'] var html = '' + var monitorId = preloadedData ? preloadedData.mid : '' Object.keys(MonitorSettings.blocks).forEach(function(blockKey){ var block = MonitorSettings.blocks[blockKey] html += drawBlock(block,preloadedData) }) var monitorSelect = `` var fullHtml = `