2.5.43: download wifi scan button added to wifi scan modal

This commit is contained in:
Charles
2022-02-09 13:59:07 +00:00
parent e82551c97f
commit e4ff3a87a7
9 changed files with 83 additions and 29 deletions

View File

@@ -51,7 +51,6 @@ const WifiScanResultModal = ({ show, toggle, scanResults, date }) => {
const parseThroughList = useCallback(() => {
const dbmNumber = 4294967295;
const listOfChannels = [];
const listCsv = [];
scanResults.forEach((scan) => {
if (!listOfChannels.includes(scan.channel)) {
@@ -75,7 +74,6 @@ const WifiScanResultModal = ({ show, toggle, scanResults, date }) => {
}
deviceToAdd.Signal = (dbmNumber - device.signal) * -1;
channel.devices.push(deviceToAdd);
listCsv.push({ ...device, ...deviceToAdd });
}
});