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' &&