Merge pull request #924 from h3poteto/iss-923
closes #923 Stop loading after initialized in direct messages
This commit is contained in:
commit
9dd8ce0bbf
|
@ -74,7 +74,7 @@ export default {
|
||||||
document.getElementById('scrollable').addEventListener('scroll', this.onScroll)
|
document.getElementById('scrollable').addEventListener('scroll', this.onScroll)
|
||||||
if (!this.unreadNotification.direct) {
|
if (!this.unreadNotification.direct) {
|
||||||
this.$store.commit('TimelineSpace/Contents/changeLoading', true)
|
this.$store.commit('TimelineSpace/Contents/changeLoading', true)
|
||||||
await this.initialize().catch(_ => {
|
await this.initialize().finally(_ => {
|
||||||
this.$store.commit('TimelineSpace/Contents/changeLoading', false)
|
this.$store.commit('TimelineSpace/Contents/changeLoading', false)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue