Skip to content

Commit

Permalink
Displaying non-default columns for local .xel files (#25907)
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubercini authored Sep 12, 2024
1 parent 3cd8451 commit 2401c59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sql/workbench/browser/editor/profiler/profilerInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,11 @@ export class ProfilerInput extends EditorInput implements IProfilerSession {
data['TextData'] = ' ';
for (let key in e.values) {
let columnName = this._columnMapping[key];
let value = e.values[key];
if (columnName) {
let value = e.values[key];
data[columnName] = value;
} else {
data[key] = value;
}
}
newEvents.push(data);
Expand Down

0 comments on commit 2401c59

Please sign in to comment.