feat: refactor frontend document tag display by removing EntryTags.
This commit is contained in:
@@ -10,7 +10,7 @@ import { useDocumentsCommandContext } from '../context/DocumentsCommandContext';
|
||||
import type { DocumentViewLogic } from '../logic/useDocumentViewLogic';
|
||||
import EditableEntryTitle from './EditableEntryTitle';
|
||||
import EntryCorrespondents from './EntryCorrespondents';
|
||||
import EntryTags from './EntryTags';
|
||||
import DocumentTags from './DocumentTags';
|
||||
import FolderEntry from './FolderEntry';
|
||||
import DocumentEntry from './DocumentEntry';
|
||||
|
||||
@@ -137,7 +137,7 @@ const DocumentsListRow: React.FC<DocumentsListRowProps> = (props) => {
|
||||
</span>
|
||||
</div>
|
||||
<div className="doc-name__tags">
|
||||
<EntryTags
|
||||
<DocumentTags
|
||||
tags={doc.tags || []}
|
||||
tagLookupById={tagLookupById}
|
||||
onTagClick={onTagClick}
|
||||
|
||||
Reference in New Issue
Block a user