From 0b0d742449403044f1efb0a5f0cf701b5018c988 Mon Sep 17 00:00:00 2001 From: alejandromumo Date: Thu, 24 Oct 2024 16:34:50 +0100 Subject: [PATCH] refactor: moved RequestResults to invenio-search-ui --- .../semantic-ui/js/invenio_app_rdm/user_dashboard/requests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/requests.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/requests.js index 95d2e0b8e..dcb3331d2 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/requests.js +++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/requests.js @@ -12,6 +12,7 @@ import { ContribBucketAggregationElement, ContribBucketAggregationValuesElement, ContribSearchAppFacets, + SearchResultsBox, } from "@js/invenio_search_ui/components"; import PropTypes from "prop-types"; import React from "react"; @@ -24,7 +25,6 @@ import { ComputerTabletRequestItem, RequestsSearchLayout, RequestsEmptyResultsWithState, - RequestsResults, } from "@js/invenio_requests/search"; const appName = "InvenioAppRdm.DashboardRequests"; @@ -61,7 +61,7 @@ export const defaultComponents = { [`${appName}.ResultsList.item`]: RequestsResultsItemTemplateDashboard, [`${appName}.ResultsGrid.item`]: () => null, [`${appName}.SearchApp.layout`]: RequestsSearchLayoutWithApp, - [`${appName}.SearchApp.results`]: RequestsResults, + [`${appName}.SearchApp.results`]: SearchResultsBox, [`${appName}.SearchBar.element`]: RDMRecordSearchBarElement, [`${appName}.EmptyResults.element`]: RequestsEmptyResultsWithState, ...defaultContribComponents,