Skip to content

Fix missing download-folder-button on commit tree pages#5343

Merged
cheap-glitch merged 3 commits intomainfrom
fix-dl-folder-btn
Feb 1, 2022
Merged

Fix missing download-folder-button on commit tree pages#5343
cheap-glitch merged 3 commits intomainfrom
fix-dl-folder-btn

Conversation

@cheap-glitch
Copy link
Contributor

Comment on lines 24 to 30
<a
className="btn d-none d-md-block tooltipped tooltipped-nw rgh-download-folder"
aria-label="Download directory"
href={downloadUrl.href}
>
<DownloadIcon/>
</a>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use getDropdownItem()?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different classes, different labels, different content. It wouldn't DRY it, it would just make it more complex.

@cheap-glitch cheap-glitch merged commit 89890f7 into main Feb 1, 2022
@cheap-glitch cheap-glitch deleted the fix-dl-folder-btn branch February 1, 2022 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Folder download button no longer available on non-default branches

3 participants