Skip to content

Commit

Permalink
disabled translation buttons and checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
shzcuber committed Nov 13, 2020
1 parent 51fa189 commit 7a4ce73
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tnoodle-ui/src/main/components/FmcTranslationsDetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ const FmcTranslationsDetail = connect(
type="button"
className="btn btn-outline-secondary"
onClick={this.selectAllTranslations}
disabled={this.props.generatingScrambles}
>
Select All
</button>
<button
type="button"
className="btn btn-outline-secondary"
onClick={this.selectNoneTranslation}
disabled={this.props.generatingScrambles}
>
Select None
</button>
Expand All @@ -101,6 +103,7 @@ const FmcTranslationsDetail = connect(
className="btn btn-outline-secondary"
onClick={this.selectSuggestedTranslations}
title="This selection is based on competitor's nationalities."
disabled={this.props.generatingScrambles}
>
Select Suggested
</button>
Expand Down Expand Up @@ -136,6 +139,11 @@ const FmcTranslationsDetail = connect(
</th>
<th>
<input
disabled={
this
.props
.generatingScrambles
}
type="checkbox"
id={
checkboxId
Expand Down

0 comments on commit 7a4ce73

Please sign in to comment.