message: Count answered required questions properly in draft-regstrations-card
diff: @@ -57,14 +57,17 @@ export default class DraftRegistrationCard extends Component {
  requiredQuestions++;
  if (question.qid in metadata) {
  const answers = metadata[question.qid] as Answers;
  - if (property.id in answers && 'value' in answers[property.id]) {
  - const { value } = answers[property.id];
  - if (value && value.length) {
  + if ('value' in answers) {
  + const { value } = answers;
  + if (value && property.id in value) {
  + const propertyValue = value[property.id].value;
  + if (propertyValue && propertyValue.length) {
  answeredRequiredQuestions++;
  }
  }
  }
  }
  + }
  });
  } else if (question.required) {
  requiredQuestions++;
  