Refactor feed manipulation and rendering to be more robust (#297)
This commit is contained in:
parent
93df983692
commit
c50a20d214
7 changed files with 360 additions and 260 deletions
|
@ -100,7 +100,7 @@ export class ProfileUiModel {
|
|||
if (this.selectedView === Sections.Posts) {
|
||||
arr = this.feed.nonReplyFeed
|
||||
} else {
|
||||
arr = this.feed.feed.slice()
|
||||
arr = this.feed.slices.slice()
|
||||
}
|
||||
if (!this.feed.hasMore) {
|
||||
arr = arr.concat([ProfileUiModel.END_ITEM])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue