circumvent gun.load() bug
This commit is contained in:
parent
35e2197095
commit
a8104d490c
1 changed files with 6 additions and 0 deletions
|
|
@ -76,6 +76,12 @@ const getWallPage = async page => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .load() sometimes doesn't load all data on first call
|
||||||
|
// @ts-ignore
|
||||||
|
if (Object.keys(clean.posts).length === 0) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
return !Common.Schema.isWallPage(clean)
|
return !Common.Schema.isWallPage(clean)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue