new check for zero

This commit is contained in:
Martin Quarda 2024-10-09 16:41:29 +02:00
parent b1de329fd5
commit 701f6dfecc

View File

@ -27,6 +27,7 @@ class Main extends Component {
progress: false, progress: false,
currentImage: 0, currentImage: 0,
uploadProgress: 0.0, uploadProgress: 0.0,
login_status: {},
}; };
fetch(addr_prefix + "/api/results").then(resp => resp.json()).then(json => { fetch(addr_prefix + "/api/results").then(resp => resp.json()).then(json => {
this.setState({results: json}) this.setState({results: json})