@sellout/ui 0.0.132 → 0.0.134

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.
@@ -35,7 +35,7 @@ function SearchDropdown(_a) {
35
35
  switch (type) {
36
36
  case SearchDropdownTypes.SingleSelect:
37
37
  if (open)
38
- return searchQuery;
38
+ return searchQuery !== null && searchQuery !== void 0 ? searchQuery : "";
39
39
  else {
40
40
  var itemValue = (_a = items.find(function (item) { return item.value === value; })) === null || _a === void 0 ? void 0 : _a.text;
41
41
  if (itemValue)
@@ -47,7 +47,7 @@ function SearchDropdown(_a) {
47
47
  }
48
48
  case SearchDropdownTypes.MultiSelect:
49
49
  if (open)
50
- return searchQuery;
50
+ return searchQuery !== null && searchQuery !== void 0 ? searchQuery : "";
51
51
  else
52
52
  return "";
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/ui",
3
- "version": "0.0.132",
3
+ "version": "0.0.134",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.es.js",
6
6
  "files": [
@@ -70,7 +70,7 @@
70
70
  "shortid": "^2.2.16",
71
71
  "use-places-autocomplete": "^1.9.4"
72
72
  },
73
- "gitHead": "715dafaf54203bed05e7bb61b836945bf59a152a",
73
+ "gitHead": "bcfbc47dc782dd312597d7ba7c6d7d13d2d93ebe",
74
74
  "peerDependencies": {
75
75
  "react": "^16.13.0",
76
76
  "react-dom": "^16.13.0",