mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-03 09:24:39 +01:00
Fix two regressions from #20602: - Restore the 'History' button that was previously unable to render because it's show condition was never hit - Hide the 'Add File' button when there would be no items in the dropdown. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>