diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-16 15:54:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 15:54:06 -0500 |
commit | c50a20d2147b9d6122768385ef00f4da783af12e (patch) | |
tree | 605dc8c826e12559e8046b044fe17d9fde4f213a /src/state/models/ui/profile.ts | |
parent | 93df983692ab9f1e0cdcce9a87396745aa992dda (diff) | |
download | voidsky-c50a20d2147b9d6122768385ef00f4da783af12e.tar.zst |
Refactor feed manipulation and rendering to be more robust (#297)
Diffstat (limited to 'src/state/models/ui/profile.ts')
-rw-r--r-- | src/state/models/ui/profile.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/ui/profile.ts b/src/state/models/ui/profile.ts index eb38509fb..280541b74 100644 --- a/src/state/models/ui/profile.ts +++ b/src/state/models/ui/profile.ts @@ -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]) |