diff options
| author | tusooa <tusooa@kazv.moe> | 2023-07-18 19:06:00 -0400 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-07-18 19:06:00 -0400 |
| commit | 35d3b8f27dace6efd5aab8915b2025d16bb7e7e7 (patch) | |
| tree | ef225f8c75900e5f74634eec5a5452fb45f2d530 /src/components/timeline | |
| parent | 510392e4ca67fee4bf6fed9346f1ff708966e734 (diff) | |
Fix pinned statuses gone when reloading user timeline
Diffstat (limited to 'src/components/timeline')
| -rw-r--r-- | src/components/timeline/timeline.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index b7414610..1050b87a 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -160,6 +160,9 @@ const Timeline = { if (this.timeline.flushMarker !== 0) { this.$store.commit('clearTimeline', { timeline: this.timelineName, excludeUserId: true }) this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 }) + if (this.timelineName === 'user') { + this.$store.dispatch('fetchPinnedStatuses', this.userId) + } this.fetchOlderStatuses() } else { this.blockClicksTemporarily() |
