Skip to content
Snippets Groups Projects
Commit 2b80f777 authored by Alexander Lovett's avatar Alexander Lovett
Browse files

[LGR-77] - Spinning Wheel does not stop if a blank response is returned

parent b1075a6c
Branches
No related tags found
No related merge requests found
{ {
"name": "looking-glass", "name": "looking-glass",
"version": "2.0.13", "version": "2.0.14",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
......
...@@ -61,7 +61,7 @@ export class ResultsComponent implements OnInit { ...@@ -61,7 +61,7 @@ export class ResultsComponent implements OnInit {
var results = context.queryResults$; var results = context.queryResults$;
results.filter(r => r.getHost() == result.getHost()).forEach( results.filter(r => r.getHost() == result.getHost()).forEach(
r => { r => {
r.output = result.getOutput(); r.output = result.getOutput() !== null && result.getOutput() !== '' ? result.getOutput() : "Router returned empty response";
r.duration = result.getDuration(); r.duration = result.getDuration();
} }
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment