disregards suggested value of ComplianceFieldIdValue.None if the field already has a tag
@@ -352,10 +352,13 @@ export default class DatasetComplianceRollupRow extends Component.extend({
value: <ComplianceFieldIdValue>identifierType
});
} else {
+ // If suggested value is ComplianceFieldIdValue.None then do not add
+ if (identifierType !== ComplianceFieldIdValue.None) {
this.actions.onAddFieldTag.call(this, { identifierType, logicalType });
}
}
}
+ }
// Invokes parent handle to ignore future revisits of this suggestion
if (typeof onSuggestionIntent === 'function') {
