diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/base.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/base.js index 7aaaba574..2ac9dea6f 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/base.js +++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/base.js @@ -14,9 +14,9 @@ import { } from "@js/invenio_search_ui/components"; import { i18next } from "@translations/invenio_app_rdm/i18next"; import React from "react"; -import { Count, ResultsList, SearchBar, Sort, buildUID } from "react-searchkit"; +import { ResultsList, SearchBar, Sort, buildUID } from "react-searchkit"; import { GridResponsiveSidebarColumn } from "react-invenio-forms"; -import { Grid, Segment, Button } from "semantic-ui-react"; +import { Grid, Button } from "semantic-ui-react"; import PropTypes from "prop-types"; import Overridable from "react-overridable"; @@ -26,64 +26,20 @@ export function DashboardResultView(props) { return ( total && ( - - - - - - - - ( - <> - {i18next.t("{{count}} results found", { - count: total, - })} - - )} - /> - - - {sortOptions && ( - ( - <> - - {cmp} - - )} - /> - )} - - - - - - - - - - - - - - + + + + + + + + - + ) @@ -111,7 +70,6 @@ DashboardResultView.defaultProps = { export const DashboardSearchLayoutHOC = ({ searchBarPlaceholder = "", - newBtn = () => null, appName = undefined, }) => { const DashboardUploadsSearchLayout = (props) => { @@ -120,22 +78,72 @@ export const DashboardSearchLayoutHOC = ({ return ( - -