diff --git a/client/.env b/client/.env index 12811449..064afb8d 100644 --- a/client/.env +++ b/client/.env @@ -2,9 +2,9 @@ VITE_APP_NAME="Works finder" VITE_BSO_AUTH="Basic QlNPOnZuODRxOVhlZjlVN3BtVQ==" VITE_BSO_MAX_SIZE=10000 VITE_BSO_PIT_KEEP_ALIVE="5m" +VITE_BSO_PUBLICATIONS_INDEX="bso-publications" VITE_BSO_SIZE=10000 VITE_BSO_URL="https://cluster.elasticsearch.dataesr.ovh" -VITE_BSO_INDICES="bso3-datacite-20230413,bso-publications" VITE_DESCRIPTION="Retrieve the scholarly outputs of your institution" VITE_GIT_REPOSITORY_URL="https://github.com/dataesr/works-finder/" VITE_HEADER_TAG="dev" diff --git a/client/.env.poc b/client/.env.poc deleted file mode 100644 index c23c9ca6..00000000 --- a/client/.env.poc +++ /dev/null @@ -1,2 +0,0 @@ -VITE_HEADER_TAG="POC" -VITE_OPENALEX_URL="https://api.openalex.org/works?mailto=bso@recherche.gouv.fr&" \ No newline at end of file diff --git a/client/src/pages/home/actions.jsx b/client/src/pages/home/actions.jsx index 5ffd5931..d9555da6 100644 --- a/client/src/pages/home/actions.jsx +++ b/client/src/pages/home/actions.jsx @@ -9,10 +9,10 @@ import { export2BsoCsv, export2json, importJson } from '../../utils/file'; export default function Actions({ allAffiliations, - allWorks, + allPublications, options, setAllAffiliations, - setAllWorks, + setAllPublications, }) { const [, setSearchParams] = useSearchParams(); const [displayFileUpload, setDisplayFileUpload] = useState(false); @@ -30,27 +30,27 @@ export default function Actions({ > Restore session -