mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-04 23:00:25 +00:00
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:
commit
720c2f5280
@ -352,10 +352,13 @@ export default class DatasetComplianceRollupRow extends Component.extend({
|
|||||||
value: <ComplianceFieldIdValue>identifierType
|
value: <ComplianceFieldIdValue>identifierType
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
// If suggested value is ComplianceFieldIdValue.None then do not add
|
||||||
|
if (identifierType !== ComplianceFieldIdValue.None) {
|
||||||
this.actions.onAddFieldTag.call(this, { identifierType, logicalType });
|
this.actions.onAddFieldTag.call(this, { identifierType, logicalType });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Invokes parent handle to ignore future revisits of this suggestion
|
// Invokes parent handle to ignore future revisits of this suggestion
|
||||||
if (typeof onSuggestionIntent === 'function') {
|
if (typeof onSuggestionIntent === 'function') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user