mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
Fix missing header in reporting
This commit is contained in:
parent
e0364522f7
commit
ce81c010b9
@ -61,14 +61,14 @@ export class VisHandlers {
|
||||
.map(item => {
|
||||
const columns = [];
|
||||
for (const table of item.dataLoader.visData.tables) {
|
||||
columns.push(...table.columns.map(t => t.title));
|
||||
columns.push(...table.columns.map(t => t.name));
|
||||
}
|
||||
|
||||
return !!(((item || {}).vis || {}).searchSource || {}).rawResponse
|
||||
? {
|
||||
rawResponse: item.vis.searchSource.rawResponse,
|
||||
title: item.vis.title || 'Table',
|
||||
columns: columns
|
||||
columns
|
||||
}
|
||||
: false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user