Skip to content

Commit

Permalink
[Upd] Added MOCK of Excel records export button
Browse files Browse the repository at this point in the history
  • Loading branch information
LaChope committed Jul 2, 2024
1 parent 622a3b8 commit 9f8e3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/record/ExportRecordsDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const ExportRecordsDropdown = ({ records, onExport }) => {
variant="primary"
className="action-button"
>
{/* Excel export is currently not supported by the backend
<Dropdown.Item onClick={() => onExport(ExportType.EXCEL)}>{i18n("records.export.excel")}</Dropdown.Item>*/}
{/*Excel export is currently not supported by the backend, uncommenting for demonstration purposes*/}
<Dropdown.Item onClick={() => onExport(ExportType.EXCEL)}>{i18n("records.export.excel")}</Dropdown.Item>
<Dropdown.Item onClick={() => onExport(ExportType.JSON)}>{i18n("records.export.json")}</Dropdown.Item>
</DropdownButton>
);
Expand Down

0 comments on commit 9f8e3b0

Please sign in to comment.