1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

[dir view] sdoc draft identifier: modified its className to avoid the effect from sdoc-editor styles in the integration environment(where css is packaged) (#5566)

This commit is contained in:
llj
2023-08-01 15:09:34 +08:00
committed by GitHub
parent 4e24ee1863
commit 18c7b34046
2 changed files with 2 additions and 2 deletions

View File

@@ -740,7 +740,7 @@ class DirentListItem extends React.Component {
<a href={dirent.type === 'dir' ? dirHref : fileHref} onClick={this.onItemClick}>{dirent.name}</a>
}
{(Utils.isSdocFile(dirent.name) && dirent.is_sdoc_draft) &&
<span className="sdoc-draft-identifier">{gettext('Draft')}</span>
<span className="dirent-sdoc-draft-identifier">{gettext('Draft')}</span>
}
</Fragment>
)}