mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed message loading state when writing and refetching
This commit is contained in:
parent
a82e76f366
commit
c21026e28a
@ -152,7 +152,7 @@ export default {
|
||||
this.messagePage = 0
|
||||
this.lastRoom = room.id
|
||||
}
|
||||
this.messagesLoaded = false
|
||||
this.messagesLoaded = options.refetch ? this.messagesLoaded : false
|
||||
const offset = (options.refetch ? 0 : this.messagePage) * this.messagePageSize
|
||||
setTimeout(async () => {
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user