Merge pull request #697 from h3poteto/fix/unreadMark
fixes #677 Fix unread mark on side menu when public timeline is updated
This commit is contained in:
commit
0a4fc853f9
|
@ -278,8 +278,8 @@ const TimelineSpace = {
|
||||||
if (rootState.TimelineSpace.Contents.Public.heading && Math.random() > 0.8) {
|
if (rootState.TimelineSpace.Contents.Public.heading && Math.random() > 0.8) {
|
||||||
commit('TimelineSpace/Contents/Public/archiveTimeline', {}, { root: true })
|
commit('TimelineSpace/Contents/Public/archiveTimeline', {}, { root: true })
|
||||||
}
|
}
|
||||||
|
commit('TimelineSpace/SideMenu/changeUnreadPublicTimeline', true, { root: true })
|
||||||
})
|
})
|
||||||
commit('TimelineSpace/SideMenu/changeUnreadPublicTimeline', true, { root: true })
|
|
||||||
},
|
},
|
||||||
startPublicStreaming ({ state }) {
|
startPublicStreaming ({ state }) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|
Loading…
Reference in New Issue