@agorapulse/ui-components 20.2.0 → 20.2.1

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.
@@ -1476,8 +1476,8 @@ class NavSelectorMerger {
1476
1476
  if (this.isInternalLeafLogicValid(newLeaf)) {
1477
1477
  newLeaf.viewMoreDisplayable = newLeaf.details.length > newLeaf.viewMoreDetailsDisplayedLimit;
1478
1478
  newLeaf.viewMoreDisplayed = oldLeaf.viewMoreDisplayed;
1479
- newLeaf.displayCounter = oldLeaf.displayCounter;
1480
1479
  newLeaf.folded = oldLeaf.folded;
1480
+ newLeaf.displayCounter = newLeaf.folded && newLeaf.counterDisplayable;
1481
1481
  newLeaf.selected = oldLeaf.selected;
1482
1482
  newLeaf.accessibility.tabIndex = oldLeaf.accessibility.tabIndex;
1483
1483
  const oldDetailByUId = associateBy(oldLeaf.details, 'uid');