Fix Uncaught TypeError: Cannot read property 'data' of undefined.

This commit is contained in:
Vikas Kapadiya 2020-09-16 09:33:37 +05:30 committed by GitHub
parent 3859002a78
commit 60c00d10db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@
}); });
this.pusher.connection.bind('error', event => { this.pusher.connection.bind('error', event => {
if (event.error.data.code === 4100) { if (event.data.code === 4100) {
this.connected = false; this.connected = false;
this.logs = []; this.logs = [];
this.chart = null; this.chart = null;