fix(client): get translationPending in video chals (#41567)
This commit is contained in:
committed by
GitHub
parent
b0f6c4e7a1
commit
6b63da3996
@ -63,7 +63,6 @@ const propTypes = {
|
||||
challengeMeta: PropTypes.object
|
||||
}),
|
||||
t: PropTypes.func.isRequired,
|
||||
translationPending: PropTypes.bool.isRequired,
|
||||
updateChallengeMeta: PropTypes.func.isRequired,
|
||||
updateSolutionFormValues: PropTypes.func.isRequired
|
||||
};
|
||||
@ -338,6 +337,7 @@ export const query = graphql`
|
||||
answers
|
||||
solution
|
||||
}
|
||||
translationPending
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -100,7 +100,7 @@ const schema = Joi.object()
|
||||
template: Joi.string().allow(''),
|
||||
time: Joi.string().allow(''),
|
||||
title: Joi.string().required(),
|
||||
translationPending: Joi.bool()
|
||||
translationPending: Joi.bool().required()
|
||||
})
|
||||
.xor('helpCategory', 'isPrivate');
|
||||
|
||||
|
Reference in New Issue
Block a user