1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-03-17 21:18:19 +02:00

Invoke loadMessages() before event connect()

In the case whereby the websocket is blocked (ie: error), make sure messages load is already triggered.
This commit is contained in:
Ralph Slooten 2022-09-19 22:37:15 +12:00
parent d918fdb137
commit 93665656cf

View File

@ -75,8 +75,8 @@ export default {
fallback: false
});
this.connect();
this.loadMessages();
this.connect();
},
methods: {
loadMessages: function () {