|
|
@@ -7010,20 +7010,13 @@ async function loadDynamicRouting(showToastMsg = false) {
|
|
|
if (showToastMsg) showToast('Refreshed', 'Dynamic routing telemetry updated', 'info');
|
|
|
} catch (err) {
|
|
|
console.error('Failed to load dynamic routing:', err);
|
|
|
+ if (showToastMsg) showToast('Notice', 'Unable to refresh dynamic routing telemetry', 'warning');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
async function loadOspfAll() {
|
|
|
await loadDynamicRouting(true);
|
|
|
}
|
|
|
- try { updateBadges(); } catch(e) { console.error('updateBadges error:', e); }
|
|
|
-
|
|
|
- if (showToastMsg) showToast('Refreshed', 'Dynamic routing telemetry updated', 'info');
|
|
|
- } catch (err) {
|
|
|
- console.error('Failed to load dynamic routing:', err);
|
|
|
- if (showToastMsg) showToast('Notice', 'Unable to refresh dynamic routing telemetry', 'warning');
|
|
|
- }
|
|
|
-}
|
|
|
|
|
|
function renderBgpStatusPill() {
|
|
|
const pill = document.getElementById('bgp-live-status-pill');
|