Skip to content

Commit

Permalink
Merge pull request #5060 from haiwen/full-folder-name
Browse files Browse the repository at this point in the history
[folder chooser] show full folder name
  • Loading branch information
freeplant authored Dec 14, 2021
2 parents eab3ba2 + 2cf240b commit beea098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/file-chooser/tree-list-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -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">
{
Expand Down

0 comments on commit beea098

Please sign in to comment.