diff --git a/packages/x-components/src/x-modules/search/store/module.ts b/packages/x-components/src/x-modules/search/store/module.ts index 1679d1f71d..6281fe371d 100644 --- a/packages/x-components/src/x-modules/search/store/module.ts +++ b/packages/x-components/src/x-modules/search/store/module.ts @@ -41,7 +41,7 @@ export const searchXStoreModule: SearchXStoreModule = { }, mutations: { appendResults(state, results) { - state.results.push(...results); + state.results = [...state.results, ...results]; }, resetState(state) { Object.assign(state, resettableState());