Skip to content

Commit

Permalink
feat: add class-names for push-analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Jan 24, 2024
1 parent 065c4b1 commit 5186076
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/DownloadMenu/GraphicsMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const GraphicsMenu = ({ hoverable, onDownload }) => {
icon={<IconImage24 color={colors.grey600} />}
label={i18n.t('Image (.png)')}
onClick={() => onDownload({ format: FILE_FORMAT_PNG })}
className="download-menuitemn"
/>
<MenuItemComponent
key="pdf"
Expand Down
1 change: 1 addition & 0 deletions src/components/DownloadMenu/TableMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const TableMenu = ({ hoverable, onDownload }) => {
<MenuItemComponent
key="html"
label={i18n.t('HTML (.html)')}
className="download-menuitem"
onClick={() =>
onDownload({
type: DOWNLOAD_TYPE_TABLE,
Expand Down
6 changes: 5 additions & 1 deletion src/components/DownloadMenu/ToolbarDownloadDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ const ToolbarDownloadDropdown = () => {
const { disabled, doDownloadData, doDownloadImage, visType } = useDownload()

return (
<HoverMenuDropdown label={i18n.t('Download')} disabled={disabled}>
<HoverMenuDropdown
label={i18n.t('Download')}
disabled={disabled}
className="download-dropdownmenu-button"
>
<DownloadMenu
hoverable
onDownloadData={doDownloadData}
Expand Down

0 comments on commit 5186076

Please sign in to comment.