@getlupa/vue 0.18.1 → 0.18.2
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/dist/lupaSearch.js +1 -1
- package/dist/lupaSearch.mjs +1 -1
- package/package.json +1 -1
package/dist/lupaSearch.js
CHANGED
|
@@ -26541,7 +26541,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
26541
26541
|
handleResults({ queryKey: props.options.queryKey, results: res });
|
|
26542
26542
|
searchResultStore.add(requestId, __spreadValues({}, res));
|
|
26543
26543
|
searchResultStore.setRelatedQueriesApiEnabled((_a = res.hasRelatedQueries) != null ? _a : false);
|
|
26544
|
-
if (res.hasRelatedQueries) {
|
|
26544
|
+
if (res.hasRelatedQueries && Boolean(props.options.relatedQueries)) {
|
|
26545
26545
|
searchResultStore.queryRelatedQueries(
|
|
26546
26546
|
props.options.queryKey,
|
|
26547
26547
|
publicQuery,
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -26539,7 +26539,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
26539
26539
|
handleResults({ queryKey: props.options.queryKey, results: res });
|
|
26540
26540
|
searchResultStore.add(requestId, __spreadValues({}, res));
|
|
26541
26541
|
searchResultStore.setRelatedQueriesApiEnabled((_a = res.hasRelatedQueries) != null ? _a : false);
|
|
26542
|
-
if (res.hasRelatedQueries) {
|
|
26542
|
+
if (res.hasRelatedQueries && Boolean(props.options.relatedQueries)) {
|
|
26543
26543
|
searchResultStore.queryRelatedQueries(
|
|
26544
26544
|
props.options.queryKey,
|
|
26545
26545
|
publicQuery,
|