Add missing fixes for the DM timeline
This commit is contained in:
parent
931fed93e4
commit
8b7fa64467
|
@ -82,6 +82,7 @@ export default {
|
||||||
await this.$store.dispatch('TimelineSpace/clearAccount')
|
await this.$store.dispatch('TimelineSpace/clearAccount')
|
||||||
await this.$store.commit('TimelineSpace/Contents/Home/clearTimeline')
|
await this.$store.commit('TimelineSpace/Contents/Home/clearTimeline')
|
||||||
await this.$store.commit('TimelineSpace/Contents/Local/clearTimeline')
|
await this.$store.commit('TimelineSpace/Contents/Local/clearTimeline')
|
||||||
|
await this.$store.commit('TimelineSpace/Contents/DirectMessages/clearTimeline')
|
||||||
await this.$store.commit('TimelineSpace/Contents/Notifications/clearNotifications')
|
await this.$store.commit('TimelineSpace/Contents/Notifications/clearNotifications')
|
||||||
await this.$store.dispatch('TimelineSpace/removeShortcutEvents')
|
await this.$store.dispatch('TimelineSpace/removeShortcutEvents')
|
||||||
await this.$store.dispatch('TimelineSpace/clearUnread')
|
await this.$store.dispatch('TimelineSpace/clearUnread')
|
||||||
|
@ -115,6 +116,7 @@ export default {
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await this.$store.dispatch('TimelineSpace/Contents/Local/fetchLocalTimeline', account)
|
await this.$store.dispatch('TimelineSpace/Contents/Local/fetchLocalTimeline', account)
|
||||||
|
await this.$store.dispatch('TimelineSpace/Contents/DirectMessages/fetchTimeline', account)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: this.$t('message.timeline_fetch_error'),
|
message: this.$t('message.timeline_fetch_error'),
|
||||||
|
|
|
@ -207,7 +207,7 @@ export default {
|
||||||
right: 24px;
|
right: 24px;
|
||||||
top: 48px;
|
top: 48px;
|
||||||
background-color: rgba(0, 0, 0, 0.7);
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
color: #ffffff;
|
color: #fff;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-radius: 0 0 2px 2px;
|
border-radius: 0 0 2px 2px;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue