Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
fix(exporter-zpages): zpages template scope (#494)
Browse files Browse the repository at this point in the history
* fix(exporter-zpages): zpages template scope

* refactor(exporter-zpages): gts fix
  • Loading branch information
Peter Marton authored and mayurkale22 committed May 6, 2019
1 parent 58dd3ab commit 39f3b32
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,8 @@ export class TracezPageHandler {
const renderedSummary =
ejs.render(summaryFile, {latencyBucketNames}, options);
/** HTML selected trace list */
const renderedSelectedTraces: string = selectedTraces ?
ejs.render(spansFile, {selectedTraces}, options) :
'';
const renderedSelectedTraces: string =
selectedTraces ? ejs.render(spansFile, selectedTraces, options) : '';
/** RootSpan lines */
const renderedSpanCells: string =
spanCells.map(spanCell => ejs.render(spanCellFile, spanCell, options))
Expand Down

0 comments on commit 39f3b32

Please sign in to comment.