1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

Show file tags (#2509)

This commit is contained in:
WangJianhui666
2018-11-13 16:39:13 +08:00
committed by Daniel Pan
parent 66422e3454
commit f50fe8a2bd
24 changed files with 346 additions and 31 deletions

View File

@@ -204,6 +204,10 @@ class MainPanel extends Component {
this.setState({isDirentDetailShow: false});
}
onFileTagChanged = () => {
this.updateViewList(this.props.filePath);
}
render() {
let filePathList = this.props.filePath.split('/');
let nodePath = '';
@@ -322,6 +326,7 @@ class MainPanel extends Component {
dirent={this.state.currentDirent}
direntPath={this.state.currentFilePath}
onItemDetailsClose={this.onItemDetailsClose}
onFileTagChanged={this.onFileTagChanged}
/>
</div>
}