Skip to content

Commit

Permalink
v5.5.12
Browse files Browse the repository at this point in the history
  • Loading branch information
novykh committed Feb 24, 2025
1 parent 50236c5 commit a006d19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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.5.11",
"version": "5.5.12",
"description": "Netdata frontend SDK and chart utilities",
"main": "dist/index.js",
"module": "dist/es6/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/agentv2.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export default {
contexts: "*",
singleDimension: "*",
theme: "default",
host: "http://10.20.4.200:19999/api/v2",
host: "http://10.10.11.51:19999/api/v3",
},
argTypes: {
host: {
Expand Down
5 changes: 4 additions & 1 deletion src/sdk/makeNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ export default ({ sdk, parent = null, attributes: initialAttributes }) => {
return acc
}, {})

Object.keys(prevValues).forEach(name => trigger(name, values[name], prevValues[name]))
Object.keys(prevValues).forEach(name => {
if (values[name] === prevValues[name]) return
trigger(name, values[name], prevValues[name])
})

if (prevPristine) {
trigger(pristineKey, attributes[pristineKey], prevPristine)
Expand Down

0 comments on commit a006d19

Please sign in to comment.