mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +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 '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
const title = Utils.getFileName(item.path);
|
const title = Utils.getFileName(item.path) || item.repo.repo_name;
|
||||||
|
|
||||||
const handleItemClick = () => {
|
const handleItemClick = () => {
|
||||||
onItemClick(item.repo, item.path);
|
onItemClick(item.repo, item.path);
|
||||||
|
Reference in New Issue
Block a user