Skip to content

Commit

Permalink
When video has embedded captions don't enabled the option to upload one
Browse files Browse the repository at this point in the history
  • Loading branch information
CAndresH committed Apr 1, 2020
1 parent 2ee1943 commit 77dd450
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,6 @@ export const useDataField = (props) => {
setDisabled_necAudioDesc(!(dataField.audioDescription === 'no'));
setDisabled_uploadAudioDesc((disabled_necAudioDesc? disabled_necAudioDesc : (dataField.audioDescriptionRequired === undefined || dataField.audioDescriptionRequired ==='no')));

//setIsA11Y(a11yInitial);
//getAccessibilityProgress();
}, [dataField]);

function captionValidator(validator){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,18 +320,7 @@ const useStyles =theme => ({
render() {
const { classes } = this.props;
return(
/* <div className="course-creator-container">
{console.log("Propiedades----->",this.props)}
{this.getAccessibilitiePercentages()}
{this.state.courseInformation.support.map((disabilitie,index)=>{
return(
<div key={`break-${index}`}>
{disabilitie.name}
</div>
)
})}
</div> */


<Grid container className={classes.root} spacing={2}>
{console.log("Propiedades----->",this.props)}
{this.getAccessibilitiePercentages()}
Expand Down

0 comments on commit 77dd450

Please sign in to comment.