@bravobit/bb-foundation 0.16.4 → 0.16.5

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.
@@ -1630,6 +1630,9 @@ class BbAvatar {
1630
1630
  return initials[0];
1631
1631
  };
1632
1632
  this.parseColorFormat = (value) => {
1633
+ if (!value) {
1634
+ return null;
1635
+ }
1633
1636
  // Hex 3 values.
1634
1637
  let match = value.match(/^#([0-9a-f]{3})$/i);
1635
1638
  if (match && match[1]) {