From 6bde7be53c82e4ff69395cbab14ccb2fe7b4e505 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Wed, 26 May 2021 13:52:14 -0700 Subject: [PATCH] Fixes nil pointer exception --- assets/components/LogEventSource.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/LogEventSource.vue b/assets/components/LogEventSource.vue index 31fb0571..89bd7d14 100644 --- a/assets/components/LogEventSource.vue +++ b/assets/components/LogEventSource.vue @@ -27,8 +27,8 @@ export default { }; }, created() { - this.loadLogs(); this.flushBuffer = debounce(this.flushNow, 250, { maxWait: 1000 }); + this.loadLogs(); }, beforeDestroy() { this.es.close();