Add missing fixes for the DM timeline

This commit is contained in:
L. E. Segovia 2018-11-02 01:11:15 +00:00
parent 931fed93e4
commit 8b7fa64467
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5
2 changed files with 3 additions and 1 deletions

View File

@ -82,6 +82,7 @@ export default {
await this.$store.dispatch('TimelineSpace/clearAccount')
await this.$store.commit('TimelineSpace/Contents/Home/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.dispatch('TimelineSpace/removeShortcutEvents')
await this.$store.dispatch('TimelineSpace/clearUnread')
@ -115,6 +116,7 @@ export default {
}
try {
await this.$store.dispatch('TimelineSpace/Contents/Local/fetchLocalTimeline', account)
await this.$store.dispatch('TimelineSpace/Contents/DirectMessages/fetchTimeline', account)
} catch (err) {
this.$message({
message: this.$t('message.timeline_fetch_error'),

View File

@ -207,7 +207,7 @@ export default {
right: 24px;
top: 48px;
background-color: rgba(0, 0, 0, 0.7);
color: #ffffff;
color: #fff;
padding: 4px 8px;
border-radius: 0 0 2px 2px;