1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

Fixes bug

This commit is contained in:
Amir Raminfar
2021-05-26 13:27:33 -07:00
parent b9532b4eac
commit fc4a3d90d5

View File

@@ -73,11 +73,12 @@ export default {
reset() {
if (this.es) {
this.es.close();
this.es = null;
this.flushBuffer.cancel();
}
this.flushBuffer.cancel();
this.es = null;
this.messages = [];
this.buffer = [];
this.lastEventId = null;
},
async loadOlderLogs() {
if (this.messages.length < 300) return;