+
+
+ {{ partialResult.query }}
+
+ {{ item.id }}
+
+
+ Ver todos {{ query }}
+
+
+
+
+
+ The user has clicked on a partial query button!!
+
+
+
+
+
+
+
diff --git a/packages/_vue3-migration-test/src/x-modules/search/x-module.ts b/packages/_vue3-migration-test/src/x-modules/search/x-module.ts
index dae572726c..2ab2f330a1 100644
--- a/packages/_vue3-migration-test/src/x-modules/search/x-module.ts
+++ b/packages/_vue3-migration-test/src/x-modules/search/x-module.ts
@@ -3,6 +3,7 @@ import { getBannersStub } from '../../../../x-components/src/__stubs__/banners-s
import { getPromotedsStub } from '../../../../x-components/src/__stubs__/promoteds-stubs.factory';
import { PrivateXModuleOptions } from '../../../../x-components/src/plugins';
import { SearchXModule } from '../../../../x-components/src/x-modules/search';
+import { getPartialResultsStub } from '../../../../x-components/src/__stubs__/partials-results-stubs.factory';
export const searchXModule = {
storeModule: {
@@ -11,6 +12,7 @@ export const searchXModule = {
results: getResultsStub(10),
promoteds: getPromotedsStub(),
banners: getBannersStub(),
+ partialResults: getPartialResultsStub(),
status: 'success'
}
}
diff --git a/packages/x-components/src/x-modules/search/components/partial-query-button.vue b/packages/x-components/src/x-modules/search/components/partial-query-button.vue
index df942bd6ab..3aaa0f5e94 100644
--- a/packages/x-components/src/x-modules/search/components/partial-query-button.vue
+++ b/packages/x-components/src/x-modules/search/components/partial-query-button.vue
@@ -1,5 +1,6 @@