@propeller-commerce/propeller-v2-react-ui 0.10.0 → 0.10.1
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/CHANGELOG.md +11 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18440,6 +18440,12 @@ function SearchBar(rawProps) {
|
|
|
18440
18440
|
graphqlClient: props.graphqlClient,
|
|
18441
18441
|
language: props.language,
|
|
18442
18442
|
configuration: props.configuration || {},
|
|
18443
|
+
// `user` supplies userId/contactId/customerId to the autosuggest query.
|
|
18444
|
+
// Without it the dropdown's results diverge from the grid's: orderlist
|
|
18445
|
+
// scoping is driven by userId, so `orderlistIds` alone is ignored by the
|
|
18446
|
+
// backend and the dropdown shows the whole catalogue while the grid below
|
|
18447
|
+
// shows only the contract's products.
|
|
18448
|
+
user: props.user,
|
|
18443
18449
|
companyId: props.companyId,
|
|
18444
18450
|
orderlistIds: props.orderlistIds,
|
|
18445
18451
|
applyOrderlists: props.applyOrderlists
|