@sunggang/ui-lib 0.2.12 → 0.2.13

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.esm.js +1 -1
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -108074,7 +108074,7 @@ var CustomSelect = function(param) {
108074
108074
  };
108075
108075
  }, []);
108076
108076
  var getSelectedItemName = function() {
108077
- if (!currentID) return "請選擇";
108077
+ if (currentID === undefined || currentID === null) return "請選擇";
108078
108078
  var selectedItem = items.find(function(item) {
108079
108079
  return String(item.value) === String(currentID);
108080
108080
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "dependencies": {
5
5
  "@iconify/react": "^4.1.1",
6
6
  "@mdx-js/react": "^3.0.1",