mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
show people name in path (#7281)
* show people name in path * optimize * optimize * optimize * feat: optimize code --------- Co-authored-by: zhouwenxuan <aries@Mac.local> Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -2147,6 +2147,10 @@ class LibContentView extends React.Component {
|
||||
});
|
||||
};
|
||||
|
||||
updatePath = (path) => {
|
||||
this.setState({ path });
|
||||
};
|
||||
|
||||
render() {
|
||||
const { repoID } = this.props;
|
||||
let { currentRepoInfo, userPerm, isCopyMoveProgressDialogShow, isDeleteFolderDialogOpen, errorMsg,
|
||||
@@ -2387,6 +2391,7 @@ class LibContentView extends React.Component {
|
||||
onItemsScroll={this.onItemsScroll}
|
||||
eventBus={this.props.eventBus}
|
||||
updateCurrentDirent={this.updateCurrentDirent}
|
||||
updateCurrentPath={this.updatePath}
|
||||
/>
|
||||
:
|
||||
<div className="message err-tip">{gettext('Folder does not exist.')}</div>
|
||||
|
Reference in New Issue
Block a user