Skip to content
Snippets Groups Projects
Commit 14bcc5a6 authored by Sytze de Witte's avatar Sytze de Witte
Browse files

minor bugfix

parent f71c7b2f
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,7 @@ export class AnalysisResultsProvider ...@@ -161,7 +161,7 @@ export class AnalysisResultsProvider
} else if (element["property"]) { } else if (element["property"]) {
label = element["property"]; label = element["property"];
} }
var value = element["value"] ? String(element["value"]) : ""; var value = String(element["value"] ?? "");
var res = new Result( var res = new Result(
label, label,
value, value,
......
...@@ -256,11 +256,11 @@ export function activate(context: ExtensionContext) { ...@@ -256,11 +256,11 @@ export function activate(context: ExtensionContext) {
)); ));
context.subscriptions.push(vscode.commands.registerCommand( context.subscriptions.push(vscode.commands.registerCommand(
"analysisResults.export", "analysisResults.saveAsJSON",
() => exportResults(analysisResultsProvider) () => exportResults(analysisResultsProvider)
)); ));
context.subscriptions.push(vscode.commands.registerCommand( context.subscriptions.push(vscode.commands.registerCommand(
"analysisResultsCompView.export", "analysisResultsCompView.saveAsJSON",
() => exportResults(analysisResultsCompProvider) () => exportResults(analysisResultsCompProvider)
)); ));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment