mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 17:37:33 +00:00
Merge pull request #1431 from cptran777/missing-export-policy-documentation
Adds missing documentation for computed property in export policy component
This commit is contained in:
commit
57e5286df5
@ -78,6 +78,10 @@ export default class ComplianceExportPolicy extends Component.extend({
|
||||
*/
|
||||
exportPolicyData: IDatasetExportPolicy | undefined;
|
||||
|
||||
/**
|
||||
* Calculates whether we should show "no export policy defined for this dataset"
|
||||
* @type {ComputedProperty<boolean>}
|
||||
*/
|
||||
@computed('exportPolicyData', 'isEditing')
|
||||
get showExportPolicyUndefined(): boolean {
|
||||
return !get(this, 'isEditing') && !get(this, 'exportPolicyData');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user