@barchart/portfolio-api-common 1.0.146 → 1.0.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -229,11 +229,11 @@ module.exports = (() => {
229
229
 
230
230
  const initializeGroupObservers = (group, groupTree) => {
231
231
  addGroupBinding(group, group.registerGroupExcludedChangeHandler((excluded, sender) => {
232
- groupTree.climb((parentGroup, parentTree) => {
233
- if (parentGroup !== null) {
232
+ groupTree.climb((parentGroup) => {
233
+ if (parentGroup) {
234
234
  let excludedItems = [];
235
235
 
236
- currentTree.walk((childGroup, childTree) => {
236
+ currentTree.walk((childGroup) => {
237
237
  if (childGroup.excluded) {
238
238
  excludedItems = excludedItems.concat(childGroup.items);
239
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.146",
3
+ "version": "1.0.147",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -945,11 +945,11 @@ module.exports = (() => {
945
945
 
946
946
  const initializeGroupObservers = (group, groupTree) => {
947
947
  addGroupBinding(group, group.registerGroupExcludedChangeHandler((excluded, sender) => {
948
- groupTree.climb((parentGroup, parentTree) => {
949
- if (parentGroup !== null) {
948
+ groupTree.climb((parentGroup) => {
949
+ if (parentGroup) {
950
950
  let excludedItems = [];
951
951
 
952
- currentTree.walk((childGroup, childTree) => {
952
+ currentTree.walk((childGroup) => {
953
953
  if (childGroup.excluded) {
954
954
  excludedItems = excludedItems.concat(childGroup.items);
955
955
  }