Skip to content

Commit a800ba3

Browse files
committed
fix
1 parent fcc850b commit a800ba3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/ufs_statistic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ async function onDocumentEnd() {
524524
const promises = uniqueUid.map(
525525
(uid) => () =>
526526
getFbProfile(uid).then((info) => {
527+
if (!info.name || !info.avatar) return;
527528
document
528529
.querySelectorAll(`[data-profile-name="${uid}"]`)
529530
.forEach((el) => {

0 commit comments

Comments
 (0)