fix ownership checking bug

This commit is contained in:
cptran777 2018-04-10 10:30:04 -07:00
parent 2e6a1e2b93
commit 42bac36e70
3 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ export default class DatasetAuthors extends Component {
* @type {ComputedProperty<boolean>}
* @memberof DatasetAuthors
*/
requiredMinNotConfirmed: ComputedProperty<boolean> = computed('confirmedOwners.length', function(
requiredMinNotConfirmed: ComputedProperty<boolean> = computed('confirmedOwners.@each.type', function(
this: DatasetAuthors
) {
return isRequiredMinOwnersNotConfirmed(get(this, 'confirmedOwners'));

View File

@ -25,7 +25,7 @@ enum OwnerIdType {
* @type {string}
*/
enum OwnerType {
Owner = 'Owner',
Owner = 'DataOwner',
Consumer = 'Consumer',
Delegate = 'Delegate',
Producer = 'Producer',

View File

@ -14,7 +14,7 @@ export default <Array<IOwner>>[
namespace: OwnerUrnNamespace.corpUser,
source: OwnerSource.Ui,
subType: null,
type: 'Owner'
type: 'DataOwner'
},
{
confirmedBy: '',
@ -28,6 +28,6 @@ export default <Array<IOwner>>[
namespace: OwnerUrnNamespace.corpUser,
source: OwnerSource.Nuage,
subType: null,
type: 'Owner'
type: 'DataOwner'
}
];