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.
- package/controllers/bookings.js +1 -1
- package/package.json +1 -1
package/controllers/bookings.js
CHANGED
|
@@ -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 => {
|