refs #923 Stop loading after initialized in direct messages

This commit is contained in:
AkiraFukushima 2019-05-22 21:28:22 +09:00
parent 3316d6a0a9
commit b797404d04
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ export default {
document.getElementById('scrollable').addEventListener('scroll', this.onScroll)
if (!this.unreadNotification.direct) {
this.$store.commit('TimelineSpace/Contents/changeLoading', true)
await this.initialize().catch(_ => {
await this.initialize().finally(_ => {
this.$store.commit('TimelineSpace/Contents/changeLoading', false)
})
}