This commit is contained in:
seb
2026-10-16 13:10:58 +02:00
parent 7bc1da4de6
commit d851c6e1e9
10 changed files with 326 additions and 445 deletions

View File

@@ -6,7 +6,7 @@ import Attachment from './Attachment';
export class AttachmentList extends PureComponent {
render() {
const { attachments, onRescan, onDelete, onClick, disabled, hasArticles, kind, docId } = this.props;
const { attachments, onRescan, onDelete, onClick, onMentionInChat, disabled, hasArticles, kind, docId } = this.props;
if (!Array.isArray(attachments) || attachments.length === 0) {
return null;
}
@@ -31,6 +31,7 @@ export class AttachmentList extends PureComponent {
onRescan={onRescan}
onDelete={onDelete}
onClick={onClick}
onMentionInChat={onMentionInChat}
disabled={disabled}
hasArticles={hasArticles}
/>