bugfix clientstate conformanceview

This commit is contained in:
Partouf
2018-10-14 02:32:04 +02:00
parent 4978fc227e
commit 03a366b77f
+5 -1
View File
@@ -118,7 +118,11 @@ class ClientStateSession {
this.language = jsondata.language;
this.source = jsondata.source;
if (typeof jsondata.conformanceview !== 'undefined') {
this.conformanceview = new ClientStateConformanceView(jsondata);
if (jsondata.conformanceview) {
this.conformanceview = new ClientStateConformanceView(jsondata.conformanceview);
} else {
this.conformanceview = false;
}
}
jsondata.compilers.forEach((compilerdata) => {