1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

[dir view] 'list' mode: fixed position of the 'tag edit' popover for file items without tags (#5678)

This commit is contained in:
llj
2023-10-09 18:28:17 +08:00
committed by GitHub
parent ec74ae86ab
commit 39d490a253
2 changed files with 4 additions and 0 deletions

View File

@@ -767,6 +767,9 @@ class DirentListItem extends React.Component {
</UncontrolledTooltip>
</Fragment>
)}
{(dirent.type !== 'dir' && (!dirent.file_tags || dirent.file_tags.length == 0)) && (
<div id={this.tagListTitleID} className="dirent-item tag-list tag-list-stacked"></div>
)}
</td>
<td className="operation">{this.renderItemOperation()}</td>
<td className="file-size">{dirent.size && dirent.size}</td>