1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 12:58:34 +00:00

[dir view] details panel: bugfix for 'edit file tags'

This commit is contained in:
llj
2022-04-13 18:30:58 +08:00
parent 65c38e71a3
commit fa02b6a3a5

View File

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