From a32df0458831f7c6259005b92ec10cc16e97b6fb Mon Sep 17 00:00:00 2001 From: jerem Date: Wed, 13 Nov 2024 10:48:22 +0100 Subject: [PATCH] style(openAlex): add left column --- client/src/pages/openalex-ror/openalexTab.jsx | 123 +++++++++--------- client/src/pages/openalex-ror/results.jsx | 34 +++-- 2 files changed, 80 insertions(+), 77 deletions(-) diff --git a/client/src/pages/openalex-ror/openalexTab.jsx b/client/src/pages/openalex-ror/openalexTab.jsx index 7d35877..b0ebd46 100644 --- a/client/src/pages/openalex-ror/openalexTab.jsx +++ b/client/src/pages/openalex-ror/openalexTab.jsx @@ -79,7 +79,7 @@ export default function OpenalexTab({ }, [affiliations, filteredAffiliationName, filteredStatus]); return ( - +
setIsModalOpen((prev) => !prev)}> {`${capitalize(action)} ROR to ${ @@ -109,69 +109,66 @@ export default function OpenalexTab({ - - -
-
- - {selectedOpenAlex.length} - {` selected affiliation${selectedOpenAlex.length === 1 ? '' : 's'}`} - - - - - -
-
- actions relatives au tableau du dessous -
-
- */} +
+
+ + {selectedOpenAlex.length} + {` selected affiliation${selectedOpenAlex.length === 1 ? '' : 's'}`} + + + + + - - - - +
+
+ actions relatives au tableau du dessous +
+
+ + {/* */} +
); } diff --git a/client/src/pages/openalex-ror/results.jsx b/client/src/pages/openalex-ror/results.jsx index 347af2e..16788ea 100644 --- a/client/src/pages/openalex-ror/results.jsx +++ b/client/src/pages/openalex-ror/results.jsx @@ -94,7 +94,7 @@ export default function Affiliations() { return ( <>
- + {isFetching && ( @@ -115,8 +115,8 @@ export default function Affiliations() { )} {!isFetching && isFetched && ( - <> - + + {/*
- - affiliation.source === 'OpenAlex', - )} - allOpenalexCorrections={allOpenalexCorrections} - options={options} - setAllOpenalexCorrections={setAllOpenalexCorrections} - undo={undo} - /> - + */} + + params: + + + + affiliation.source === 'OpenAlex', + )} + allOpenalexCorrections={allOpenalexCorrections} + options={options} + setAllOpenalexCorrections={setAllOpenalexCorrections} + undo={undo} + /> + + )}