Fix Uncaught TypeError: Cannot read property 'data' of undefined.
This commit is contained in:
parent
3859002a78
commit
60c00d10db
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue