From 60c00d10db7a4eba5fc49a1655fe1366a8d5ea71 Mon Sep 17 00:00:00 2001 From: Vikas Kapadiya Date: Wed, 16 Sep 2020 09:33:37 +0530 Subject: [PATCH] Fix Uncaught TypeError: Cannot read property 'data' of undefined. --- resources/views/dashboard.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 1fa25a8..4c32535 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -314,7 +314,7 @@ }); this.pusher.connection.bind('error', event => { - if (event.error.data.code === 4100) { + if (event.data.code === 4100) { this.connected = false; this.logs = []; this.chart = null;