base-components-recipes icon indicating copy to clipboard operation
base-components-recipes copied to clipboard

Update recordForm.js, removed redundant checks

Open Vishnuz opened this issue 5 years ago • 1 comments

_objectinfo is already validated for the field at start of the code block (line 237) => if (this._objectInfo.fields && this._objectInfo.fields[field]) { similar check is not needed inside the block

Vishnuz avatar Aug 19 '20 01:08 Vishnuz

Thanks for the contribution! Before we can merge this, we need @Vishnuz to sign the Salesforce.com Contributor License Agreement.

salesforce-cla[bot] avatar Aug 19 '20 01:08 salesforce-cla[bot]