MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / setText

Function setText

web/scripts/ragnar_modern.js:17924–17927  ·  view source on GitHub ↗
(id, val)

Source from the content-addressed store, hash-verified

17922function renderWifiInterfaceSwitch(interfaces = []) {
17923 setWifiInterfaceMetadata(interfaces);
17924 const switchContainer = document.getElementById('wifi-interface-switch');
17925 const buttonsContainer = document.getElementById('wifi-interface-switch-buttons');
17926 if (!switchContainer || !buttonsContainer) {
17927 return;
17928 }
17929
17930 const connectedInterfaces = wifiInterfaceMetadata.filter(iface => iface && iface.connected);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected