mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-19 12:53:28 +00:00
defaults to showing all fields for field review option
This commit is contained in:
parent
460cb2ca24
commit
e8c9d8dda7
@ -202,7 +202,7 @@ export default Component.extend({
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of ui values and labels for review filter drop-down
|
* Returns a list of ui values and labels for review filter drop-down
|
||||||
* @type {Ember.computed}
|
* @type {Ember.ComputedProperty<{value: string, label:string}>}
|
||||||
*/
|
*/
|
||||||
fieldReviewOptions: computed(function() {
|
fieldReviewOptions: computed(function() {
|
||||||
return [
|
return [
|
||||||
@ -215,13 +215,10 @@ export default Component.extend({
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Toggles the field review option based on if the dataset
|
* Default to show all fields to review
|
||||||
* already has a compliance policy created for fields
|
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
fieldReviewOption: computed('isNewComplianceInfo', function() {
|
fieldReviewOption: 'showAll',
|
||||||
return get(this, 'isNewComplianceInfo') ? 'showAll' : 'showReview';
|
|
||||||
}),
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reference to the application notifications Service
|
* Reference to the application notifications Service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user