Skip to content

Commit

Permalink
feat(ui): Group actions
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Oct 23, 2023
1 parent 196c4d1 commit c35f801
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions client/src/pages/home/actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ export default function Actions({
return (
<>
<Row className="fr-mb-1w">
<Col>
<Col className="text-right">
<Button
data-tooltip-id="restore-session-button"
icon="ri-file-upload-line"
onClick={() => setDisplayFileUpload(true)}
secondary
size="sm"
>
Restore session
Expand All @@ -38,15 +37,14 @@ export default function Actions({
disabled={!allPublications.length}
icon="ri-save-line"
onClick={() => export2json(allAffiliations, allPublications, options)}
secondary
size="sm"
>
Save session
</Button>
<Tooltip id="save-session-button" hidden={!allPublications.length}>
Save your ongoing work into a file that could be restored later
</Tooltip>
</Col>
<Col className="text-right">
<Button
disabled={!allPublications.length}
icon="ri-save-line"
Expand Down

0 comments on commit c35f801

Please sign in to comment.