diff --git a/templates/inspector.html b/templates/inspector.html index 9a2325c..495b5df 100644 --- a/templates/inspector.html +++ b/templates/inspector.html @@ -320,7 +320,9 @@ function renderPanel(swName, idx) { _apiData.hosts && _apiData.hosts[d.lldp.system_name]); const diagHtml = hasDiagTarget ? `
- +
` : ''; @@ -433,7 +435,7 @@ function renderInspector(data) { } if (!Object.keys(switches).length) { - main.innerHTML = '

No switch data available. Monitor may still be initialising.

'; + main.innerHTML = '
No switch data available
Monitor may still be initialising.
'; return; } @@ -460,7 +462,7 @@ async function loadInspector() { renderInspector(data); } catch (e) { document.getElementById('inspector-main').innerHTML = - '

Failed to load inspector data.

'; + '
Failed to load inspector data
'; lt.toast.error('Failed to load inspector data'); } }