@trackunit/ui-icons 0.0.48 → 0.0.50

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.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -541,6 +541,10 @@ const validateIconName = name => {
541
541
  };
542
542
 
543
543
  const ensureIconWithFallback = (name, fallbackIconName = FALLBACK_ICON_NAME) => {
544
+ if (!name) {
545
+ return fallbackIconName;
546
+ }
547
+
544
548
  const isValid = validateIconName(name);
545
549
 
546
550
  if (isValid) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/ui-icons",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",