Skip to content

Commit

Permalink
fix: thread disappearing after refresh
Browse files Browse the repository at this point in the history
Signed-off-by: greta <gretadoci@gmail.com>

[skip ci]
  • Loading branch information
GretaD authored and backportbot[bot] committed Oct 11, 2024
1 parent 4ef193f commit 55cb7f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/MailboxThread.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,17 @@ export default {
mailbox() {
clearTimeout(this.startMailboxTimer)
setTimeout(this.saveStartMailbox, START_MAILBOX_DEBOUNCE)
this.fetchEnvelopes()
},
},
created() {
this.handleMailto()
},
mounted() {
setTimeout(this.saveStartMailbox, START_MAILBOX_DEBOUNCE)
if (this.isThreadShown) {
await this.fetchEnvelopes()
}
},
beforeUnmount() {
clearTimeout(this.startMailboxTimer)
Expand Down

0 comments on commit 55cb7f6

Please sign in to comment.