Skip to content

Commit

Permalink
Merge pull request #19 from Sawy7/1.1.1
Browse files Browse the repository at this point in the history
Fixed map function call that causes problems in Grafana 10 (bump to 1.1.1)
  • Loading branch information
KatrinaTurner authored Jul 21, 2023
2 parents 53f6b4f + ec8e539 commit 7b21d81
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 7b21d81

Please sign in to comment.