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

update file path style (#3896)

This commit is contained in:
Michael An
2019-07-23 15:53:25 +08:00
committed by Daniel Pan
parent b1a0404cb7
commit 6f2c6ae16d
3 changed files with 14 additions and 5 deletions

View File

@@ -52,7 +52,10 @@ class MainPanel extends Component {
}
if (index === (paths.length - 1)) {
return (
<span key={index}><span className="path-split">/</span>{item}</span>
<Fragment key={index}>
<span className="path-split">/</span>
<span className="path-file-name">{item}</span>
</Fragment>
);
} else {
nodePath += '/' + item;