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) => {
|
||||
const { dirent } = this.props;
|
||||
return (
|
||||
<Fragment>
|
||||
<div className="detail-body dirent-info">
|
||||
@@ -182,7 +183,7 @@ class DirentDetail extends React.Component {
|
||||
dirent={this.props.dirent || folderDirent}
|
||||
direntType={this.state.direntType}
|
||||
direntDetail={this.state.direntDetail}
|
||||
fileTagList={this.state.fileTagList}
|
||||
fileTagList={dirent ? dirent.file_tags : []}
|
||||
onFileTagChanged={this.props.onFileTagChanged}
|
||||
fileParticipantList={this.state.fileParticipantList}
|
||||
onParticipantsChange={this.onParticipantsChange}
|
||||
|
Reference in New Issue
Block a user