From ea6b4a14b6657701a3d106d5f91a1d0190f18da1 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 5 Sep 2025 16:12:40 +0300 Subject: [PATCH] comment --- client/src/helpers/misc/attachment-insert-from-source.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/helpers/misc/attachment-insert-from-source.js b/client/src/helpers/misc/attachment-insert-from-source.js index cf5724e7be..35ee9c1fae 100644 --- a/client/src/helpers/misc/attachment-insert-from-source.js +++ b/client/src/helpers/misc/attachment-insert-from-source.js @@ -81,6 +81,7 @@ export default class AttachmentInsertSourceFromHelper { filters = this.view['getSelectFilters' + source]() || {}; } + // @todo EntityType => link mapping defined in metadata for automatic filtering. if (this.model.attributes.parentId && this.model.attributes.parentType === 'Account') { if ( this.metadata.get(`entityDefs.${source}.fields.account.type`) === 'link' &&