Skip to content

Commit

Permalink
Don't omit file extension in trace name.
Browse files Browse the repository at this point in the history
Fixes #235

Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
  • Loading branch information
bhufmann committed Jan 21, 2021
1 parent 79ae639 commit 0e0b23a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewer-prototype/src/browser/trace-viewer/trace-viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class TraceViewerWidget extends ReactWidget {
if (isCancelled.value) {
break;
}
const trace = await this.traceManager.openTrace(tracesArray[i].toString(), tracesArray[i].name);
const trace = await this.traceManager.openTrace(tracesArray[i].toString(), tracesArray[i].name + tracesArray[i].ext);
if (trace) {
traces.push(trace);
}
Expand All @@ -138,7 +138,7 @@ export class TraceViewerWidget extends ReactWidget {
return;
}
progress.report({message: 'Merging traces', work: {done: 70, total: 100}});
const experiment = await this.experimentManager.openExperiment(this.uri.name, traces);
const experiment = await this.experimentManager.openExperiment(this.uri.name + this.uri.ext, traces);
if (experiment) {
this.openedExperiment = experiment;
this.title.label = 'Trace: ' + experiment.name;
Expand Down

0 comments on commit 0e0b23a

Please sign in to comment.