Displaying all event data (#1635)

* Displaying all event data

* Fixing viewing blank text panels and highlighting

* add aria-label for insights dialog (#1629)

* Displaying all event data

* Fixing viewing blank text panels and highlighting

* descriptive comments, removing redundant code
This commit is contained in:
Madeline MacDonald
2018-06-15 14:16:42 -07:00
committed by GitHub
parent af2bc859d1
commit 8d89364d72
2 changed files with 10 additions and 7 deletions

View File

@@ -228,7 +228,9 @@ export class ProfilerEditor extends BaseEditor {
if (data) {
this._modelService.updateModel(this._editorModel, data['TextData']);
this._detailTableData.clear();
this._detailTableData.push(Object.keys(data).map(key => {
this._detailTableData.push(Object.keys(data).filter(key => {
return data[key] !== ' ';
}).map(key => {
return {
label: key,
value: data[key]