FE - graphql response wrap into data

This commit is contained in:
jokob-sk
2025-08-21 15:51:58 +10:00
parent 73fd094cfc
commit 39c556576c
2 changed files with 3 additions and 3 deletions

View File

@@ -249,7 +249,7 @@ function fetchUsedIps(callback) {
console.log(response);
const usedIps = (response?.devices?.devices || [])
const usedIps = (response?.data?.devices?.devices || [])
.map(d => d.devLastIP)
.filter(ip => ip && ip.includes('.'));
callback(usedIps);