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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user