1
0
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:
Aries
2025-01-03 15:11:06 +08:00
committed by GitHub
parent 3795c054ea
commit db287ccf9d
15 changed files with 110 additions and 121 deletions

View File

@@ -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>