mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 04:48:03 +00:00
[dir view] details panel: bugfix for 'edit file tags'
This commit is contained in:
@@ -169,6 +169,7 @@ class DirentDetail extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
renderDetailBody = (bigIconUrl, folderDirent) => {
|
renderDetailBody = (bigIconUrl, folderDirent) => {
|
||||||
|
const { dirent } = this.props;
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<div className="detail-body dirent-info">
|
<div className="detail-body dirent-info">
|
||||||
@@ -182,7 +183,7 @@ class DirentDetail extends React.Component {
|
|||||||
dirent={this.props.dirent || folderDirent}
|
dirent={this.props.dirent || folderDirent}
|
||||||
direntType={this.state.direntType}
|
direntType={this.state.direntType}
|
||||||
direntDetail={this.state.direntDetail}
|
direntDetail={this.state.direntDetail}
|
||||||
fileTagList={this.state.fileTagList}
|
fileTagList={dirent ? dirent.file_tags : []}
|
||||||
onFileTagChanged={this.props.onFileTagChanged}
|
onFileTagChanged={this.props.onFileTagChanged}
|
||||||
fileParticipantList={this.state.fileParticipantList}
|
fileParticipantList={this.state.fileParticipantList}
|
||||||
onParticipantsChange={this.onParticipantsChange}
|
onParticipantsChange={this.onParticipantsChange}
|
||||||
|
Reference in New Issue
Block a user