refs #923 Stop loading after initialized in direct messages
This commit is contained in:
parent
3316d6a0a9
commit
b797404d04
|
@ -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