diff --git a/static/js/components/sensor-dashboard.js b/static/js/components/sensor-dashboard.js index 16e49cc..283ea5a 100644 --- a/static/js/components/sensor-dashboard.js +++ b/static/js/components/sensor-dashboard.js @@ -172,8 +172,7 @@ const SensorDashboard = (function () { if (output) output.style.display = isDash ? 'none' : ''; _updateToggle(isDash); } else { - if (view) view.style.display = 'none'; - if (output) output.style.display = ''; + if (view) view.style.display = 'none'; } }