Skip to content

Commit

Permalink
fixed map function in dataParser
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawy7 committed Jul 4, 2023
1 parent 53f6b4f commit ec8e539
Show file tree
Hide file tree
Showing 3 changed files with 9,521 additions and 9,030 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "netsage-sankey-panel",
"version": "1.1.0",
"version": "1.1.1",
"description": "Sankey Panel Plugin for Grafana",
"license": "Apache-2.0",
"repository": "https://github.com/netsage-project/netsage-sankey-panel",
Expand Down
2 changes: 1 addition & 1 deletion src/dataParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function parseData(data: { series: any[] }, options: { valueField: any },
);

let values = [];
valueField[0].values.buffer.map((value: any) => {
valueField[0].values.map((value: any) => {
values.push([value, valueField[0].display(value), valueField[0].name]);
});
// display converts value to display value with units
Expand Down
Loading

0 comments on commit ec8e539

Please sign in to comment.