1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00

fix recently used item name (#7037)

Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
Aries
2024-11-13 15:53:33 +08:00
committed by GitHub
parent 57d7e16c01
commit 7101d2135c

View File

@@ -6,7 +6,7 @@ const RecentlyUsedListItem = ({ item, isSelected, onItemClick }) => {
return '';
}
const title = Utils.getFileName(item.path);
const title = Utils.getFileName(item.path) || item.repo.repo_name;
const handleItemClick = () => {
onItemClick(item.repo, item.path);