Merge pull request #924 from h3poteto/iss-923

closes #923 Stop loading after initialized in direct messages
This commit is contained in:
AkiraFukushima 2019-05-22 21:30:29 +09:00 committed by GitHub
commit 9dd8ce0bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
})
}