Skip to content

Commit

Permalink
v5.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
novykh committed May 24, 2024
1 parent 82cbd8d commit c907aa8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netdata/charts",
"version": "5.0.17",
"version": "5.0.18",
"description": "Netdata frontend SDK and chart utilities",
"main": "dist/index.js",
"module": "dist/es6/index.js",
Expand Down
4 changes: 4 additions & 0 deletions src/sdk/makeChart/camelizePayload.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ const getStsByContext = (groups, units, dimensions, contextsArray) => {
}, "")
)

if (!dimensions.ids) {
return [[], {}]
}

const dimensionContexts = dimensions.ids.map(id => {
const [, ctx] = id.match(regex)

Expand Down

0 comments on commit c907aa8

Please sign in to comment.