Merge pull request #1129 from theseyi/disregard-none-suggested-for-multi-tag

disregards suggested value of ComplianceFieldIdValue.None if the fiel…
This commit is contained in:
Seyi Adebajo 2018-05-01 13:18:28 -07:00 committed by GitHub
commit 720c2f5280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,7 +352,10 @@ export default class DatasetComplianceRollupRow extends Component.extend({
value: <ComplianceFieldIdValue>identifierType
});
} else {
this.actions.onAddFieldTag.call(this, { identifierType, logicalType });
// If suggested value is ComplianceFieldIdValue.None then do not add
if (identifierType !== ComplianceFieldIdValue.None) {
this.actions.onAddFieldTag.call(this, { identifierType, logicalType });
}
}
}
}