add env show select source img
This commit is contained in:
parent
371f041299
commit
e05e40b206
2
app/.env
2
app/.env
|
@ -1,2 +1,2 @@
|
||||||
REACT_APP_HOST='http://api.face-classify.beetai.com'
|
REACT_APP_HOST='http://api.face-classify.beetai.com'
|
||||||
|
REACT_APP_SOURCE_IMG=0
|
||||||
|
|
|
@ -262,14 +262,16 @@ class ImportImage extends Component {
|
||||||
data-col-index={0}
|
data-col-index={0}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/* <div className="form-group m-form__group col-xl-2">
|
<div className="form-group m-form__group col-xl-2">
|
||||||
|
{process.env.REACT_APP_SOURCE_IMG === "1" ?
|
||||||
<Select
|
<Select
|
||||||
placeholder={'Loại ảnh'}
|
placeholder={'Loại ảnh'}
|
||||||
value={this.state.valueSelected}
|
value={this.state.valueSelected}
|
||||||
onChange={this.changeHandleFilter}
|
onChange={this.changeHandleFilter}
|
||||||
options={this.state.optionSelect}
|
options={this.state.optionSelect}
|
||||||
/>
|
/> : ""
|
||||||
</div> */}
|
}
|
||||||
|
</div>
|
||||||
<div className="pl-3">
|
<div className="pl-3">
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user