Skip to content

Commit

Permalink
Comment Update
Browse files Browse the repository at this point in the history
  • Loading branch information
staware30 committed Apr 3, 2024
1 parent 7b0ead3 commit 1e9f0c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contenthub/hydration/hydration-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ export function formIsComplete(metadataSchema, formValues) {
if(formValues['gmo:campaignName']){
if(!formValues['gmo:programName']) return false;
}

if(!formValues['gmo:deliverableType']) return false;


if(formValues['gmo:licensedContent'] !== 'no'){
if(!formValues['gmo:usageTerms']) return false;
if(formValues['gmo:licensedContent'] === 'yes-expire' && !formValues['gmo:licenseExpiryDate']) return false;
Expand Down

0 comments on commit 1e9f0c4

Please sign in to comment.