node-ethernet-ip
node-ethernet-ip copied to clipboard
Length failing to return on Tag Group
.length() is not returning the number of groups within tag
Current Behavior
As above (node-ethernet-ip/src/tag-group/index.js)
Expected Behavior
Length of group should be returned
Possible Solution (Optional)
Change (Line 31) return Object.keys(this.tags).length;
to return Object.keys(this.state.tags).length;