1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 14:21:23 +00:00

[folder chooser] show full folder name

This commit is contained in:
llj
2021-12-13 14:50:42 +08:00
parent eab3ba2f6d
commit 2cf240baba

View File

@@ -97,12 +97,12 @@ class TreeViewItem extends React.Component {
}
}
return(
return (
<div className="file-chooser-item">
<div className={`${node.path === '/'? 'hide': ''}`}>
<div className={`${(isCurrentRepo && isCurrentPath) ? 'item-active' : ''} item-info`} onClick={this.onItemClick}>
<div className="item-text">
<span className="name user-select-none ellipsis">{node.object && node.object.name}</span>
<span className="name user-select-none ellipsis" title={node.object && node.object.name}>{node.object && node.object.name}</span>
</div>
<div className="item-left-icon">
{