mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
parent
f532e072f2
commit
9cdd108624
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ function getIconType(node) {
|
|||
}
|
||||
|
||||
export default function Node({ node, depth, expanded, focused, toggleExpand }) {
|
||||
const { name, url, type } = node
|
||||
const { name, url, type, path } = node
|
||||
const item = (
|
||||
<p
|
||||
className={cx('node-item', { expanded })}
|
||||
|
|
@ -27,7 +27,7 @@ export default function Node({ node, depth, expanded, focused, toggleExpand }) {
|
|||
</p>
|
||||
)
|
||||
return (
|
||||
<div className={cx(`node-item-row`, { focused })}>
|
||||
<div className={cx(`node-item-row`, { focused })} title={path}>
|
||||
{
|
||||
type !== 'tree'
|
||||
? (
|
||||
|
|
|
|||
Loading…
Reference in a new issue