Skip to content

Commit

Permalink
fix: show label folder uri while training (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
stew-ro authored Sep 8, 2020
1 parent 895b527 commit 0ad389c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/react/components/pages/train/trainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default class TrainPage extends React.Component<ITrainPageProps, ITrainPa
<div className="condensed-list-body">
<div className="m-3">
<h4 className="text-shadow-none"> Train a new model </h4>
{!this.state.isTraining && localFileSystemProvider &&
{localFileSystemProvider &&
<div>
<span>
{strings.train.labelFolderTitle}
Expand All @@ -160,6 +160,7 @@ export default class TrainPage extends React.Component<ITrainPageProps, ITrainPa
onChange={this.setInputtedLabelFolderURL}
placeholder={strings.train.defaultLabelFolderURL}
value={this.state.inputtedLabelFolderURL}
disabled={this.state.isTraining}
/>
</div>
}
Expand Down

0 comments on commit 0ad389c

Please sign in to comment.