mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 06:48:04 -06:00
bugfix clientstate conformanceview
This commit is contained in:
+5
-1
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user