fix parsing of pixellog
This commit is contained in:
parent
ae878d4518
commit
f43b786f31
|
@ -131,7 +131,7 @@ export async function getSummaryFromArea(
|
||||||
const ipInfo = ip2Info.get(ip);
|
const ipInfo = ip2Info.get(ip);
|
||||||
if (!ipInfo) {
|
if (!ipInfo) {
|
||||||
row.push('N/A', 'xx', 'N/A', 'N/A', 'N/A');
|
row.push('N/A', 'xx', 'N/A', 'N/A', 'N/A');
|
||||||
}
|
} else {
|
||||||
let { pcheck } = ipInfo;
|
let { pcheck } = ipInfo;
|
||||||
if (pcheck) {
|
if (pcheck) {
|
||||||
const seperator = pcheck.indexOf(',');
|
const seperator = pcheck.indexOf(',');
|
||||||
|
@ -147,6 +147,7 @@ export async function getSummaryFromArea(
|
||||||
pcheck || 'N/A',
|
pcheck || 'N/A',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (printUsers) {
|
if (printUsers) {
|
||||||
const userMd = (uid && uid2Name.has(uid))
|
const userMd = (uid && uid2Name.has(uid))
|
||||||
? `${uid2Name.get(uid)},${uid}` : 'N/A';
|
? `${uid2Name.get(uid)},${uid}` : 'N/A';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user