Merge branch 'tusooa/1266-reload-user-pinned' into 'develop'
Fix pinned statuses gone when reloading user timeline Closes #1266 See merge request pleroma/pleroma-fe!1847
This commit is contained in:
commit
d8d2507303
1
changelog.d/reload-user-pinned.fix
Normal file
1
changelog.d/reload-user-pinned.fix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix pinned statuses gone when reloading user timeline
|
@ -160,6 +160,9 @@ const Timeline = {
|
|||||||
if (this.timeline.flushMarker !== 0) {
|
if (this.timeline.flushMarker !== 0) {
|
||||||
this.$store.commit('clearTimeline', { timeline: this.timelineName, excludeUserId: true })
|
this.$store.commit('clearTimeline', { timeline: this.timelineName, excludeUserId: true })
|
||||||
this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 })
|
this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 })
|
||||||
|
if (this.timelineName === 'user') {
|
||||||
|
this.$store.dispatch('fetchPinnedStatuses', this.userId)
|
||||||
|
}
|
||||||
this.fetchOlderStatuses()
|
this.fetchOlderStatuses()
|
||||||
} else {
|
} else {
|
||||||
this.blockClicksTemporarily()
|
this.blockClicksTemporarily()
|
||||||
|
Loading…
Reference in New Issue
Block a user