@vaadin/avatar-group 23.0.0 → 23.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/avatar-group",
3
- "version": "23.0.0",
3
+ "version": "23.0.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,19 +35,19 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@polymer/polymer": "^3.0.0",
38
- "@vaadin/avatar": "^23.0.0",
39
- "@vaadin/component-base": "^23.0.0",
40
- "@vaadin/item": "^23.0.0",
41
- "@vaadin/list-box": "^23.0.0",
42
- "@vaadin/vaadin-lumo-styles": "^23.0.0",
43
- "@vaadin/vaadin-material-styles": "^23.0.0",
44
- "@vaadin/vaadin-overlay": "^23.0.0",
45
- "@vaadin/vaadin-themable-mixin": "^23.0.0"
38
+ "@vaadin/avatar": "^23.0.3",
39
+ "@vaadin/component-base": "^23.0.3",
40
+ "@vaadin/item": "^23.0.3",
41
+ "@vaadin/list-box": "^23.0.3",
42
+ "@vaadin/vaadin-lumo-styles": "^23.0.3",
43
+ "@vaadin/vaadin-material-styles": "^23.0.3",
44
+ "@vaadin/vaadin-overlay": "^23.0.3",
45
+ "@vaadin/vaadin-themable-mixin": "^23.0.3"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@esm-bundle/chai": "^4.3.4",
49
49
  "@vaadin/testing-helpers": "^0.3.2",
50
50
  "sinon": "^9.2.1"
51
51
  },
52
- "gitHead": "e5ce38429a14de1448d732614e359fb32b2c42e0"
52
+ "gitHead": "3f010a4167c9e04405c9dfab098da0821e02a601"
53
53
  }
@@ -395,7 +395,9 @@ class AvatarGroup extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement)
395
395
  const result = [];
396
396
  for (let i = limit; i < items; i++) {
397
397
  const item = this.items[i];
398
- result.push(item.name || item.abbr || 'anonymous');
398
+ if (item) {
399
+ result.push(item.name || item.abbr || 'anonymous');
400
+ }
399
401
  }
400
402
  // override generated title attribute
401
403
  this.$.overflow.setAttribute('title', result.join('\n'));