Mark unhydrated replies as orphaned (#5048)
parent
2df22d8674
commit
bf15fad240
|
@ -81,7 +81,15 @@ export class FeedViewPostsSlice {
|
||||||
isParentBlocked,
|
isParentBlocked,
|
||||||
isParentNotFound,
|
isParentNotFound,
|
||||||
})
|
})
|
||||||
if (!reply || reason) {
|
if (!reply) {
|
||||||
|
if (post.record.reply) {
|
||||||
|
// This reply wasn't properly hydrated by the AppView.
|
||||||
|
this.isOrphan = true
|
||||||
|
this.items[0].isParentNotFound = true
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (reason) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue