@vaadin/avatar-group 22.0.4 → 22.0.7

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": "22.0.4",
3
+ "version": "22.0.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,19 +36,19 @@
36
36
  "@polymer/iron-a11y-announcer": "^3.0.0",
37
37
  "@polymer/iron-resizable-behavior": "^3.0.0",
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/avatar": "^22.0.4",
40
- "@vaadin/component-base": "^22.0.4",
41
- "@vaadin/item": "^22.0.4",
42
- "@vaadin/list-box": "^22.0.4",
43
- "@vaadin/vaadin-lumo-styles": "^22.0.4",
44
- "@vaadin/vaadin-material-styles": "^22.0.4",
45
- "@vaadin/vaadin-overlay": "^22.0.4",
46
- "@vaadin/vaadin-themable-mixin": "^22.0.4"
39
+ "@vaadin/avatar": "^22.0.7",
40
+ "@vaadin/component-base": "^22.0.7",
41
+ "@vaadin/item": "^22.0.7",
42
+ "@vaadin/list-box": "^22.0.7",
43
+ "@vaadin/vaadin-lumo-styles": "^22.0.7",
44
+ "@vaadin/vaadin-material-styles": "^22.0.7",
45
+ "@vaadin/vaadin-overlay": "^22.0.7",
46
+ "@vaadin/vaadin-themable-mixin": "^22.0.7"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@esm-bundle/chai": "^4.3.4",
50
50
  "@vaadin/testing-helpers": "^0.3.2",
51
51
  "sinon": "^9.2.1"
52
52
  },
53
- "gitHead": "55891f68d4da41e846e06dfe51dceba1665e41ce"
53
+ "gitHead": "947d74491296ca746b360ecb5f5a8efd55ab2866"
54
54
  }
@@ -412,7 +412,9 @@ class AvatarGroup extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizab
412
412
  const result = [];
413
413
  for (let i = limit; i < items; i++) {
414
414
  const item = this.items[i];
415
- result.push(item.name || item.abbr || 'anonymous');
415
+ if (item) {
416
+ result.push(item.name || item.abbr || 'anonymous');
417
+ }
416
418
  }
417
419
  // override generated title attribute
418
420
  this.$.overflow.setAttribute('title', result.join('\n'));