Update CommunicationsChat.vue

This commit is contained in:
Troplo 2022-07-30 18:01:18 +10:00
parent 3d7df1c98a
commit 91386b68c0

View file

@ -1115,6 +1115,7 @@ export default {
this.focusInput()
},
autoScroll(smooth = false) {
this.$nextTick(() => {
if (!this.avoidAutoScroll) {
try {
const lastIndex = this.messages.length - 1
@ -1141,6 +1142,7 @@ export default {
}
}
}
})
},
getMessages() {
this.loadingMessages = true