ti2 1.0.86 → 1.0.87

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.
@@ -102,7 +102,7 @@ const $searchProductList = (products, searchInput = '', optionId = '') => {
102
102
  } ${R.path(['optionName'], option) || ''
103
103
  } ${R.path(['optionId'], option) || ''
104
104
  } ${R.path(['supplierId'], product) || ''}`;
105
- const inputValueLower = searchInput.trim().toLowerCase();
105
+ const inputValueLower = (searchInput || '').trim().toLowerCase();
106
106
  const parts = inputValueLower.split(' ').filter(Boolean); // Filter out any empty strings just in case
107
107
  const pwFilteredOptions = products.map(product => {
108
108
  const filteredOptions = R.pathOr([], ['options'], product).filter(option => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ti2",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "description": "Tourist Industry Exchange (TI2)",
5
5
  "main": "index.js",
6
6
  "scripts": {