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
|
challengeMeta: PropTypes.object
|
||||||
}),
|
}),
|
||||||
t: PropTypes.func.isRequired,
|
t: PropTypes.func.isRequired,
|
||||||
translationPending: PropTypes.bool.isRequired,
|
|
||||||
updateChallengeMeta: PropTypes.func.isRequired,
|
updateChallengeMeta: PropTypes.func.isRequired,
|
||||||
updateSolutionFormValues: PropTypes.func.isRequired
|
updateSolutionFormValues: PropTypes.func.isRequired
|
||||||
};
|
};
|
||||||
@ -338,6 +337,7 @@ export const query = graphql`
|
|||||||
answers
|
answers
|
||||||
solution
|
solution
|
||||||
}
|
}
|
||||||
|
translationPending
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -100,7 +100,7 @@ const schema = Joi.object()
|
|||||||
template: Joi.string().allow(''),
|
template: Joi.string().allow(''),
|
||||||
time: Joi.string().allow(''),
|
time: Joi.string().allow(''),
|
||||||
title: Joi.string().required(),
|
title: Joi.string().required(),
|
||||||
translationPending: Joi.bool()
|
translationPending: Joi.bool().required()
|
||||||
})
|
})
|
||||||
.xor('helpCategory', 'isPrivate');
|
.xor('helpCategory', 'isPrivate');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user