fixed predict button to be off when predicting

Esse commit está contido em:
Kyle Mathewson
2020-01-04 21:41:40 -07:00
commit ed9697719f
@@ -212,7 +212,7 @@ export function renderRecord(status) {
console.log('Attempting to classify state')
classify();
}}
disabled={!window.enoughLabels || status === generalTranslations.connect}
disabled={window.isPredicting || !window.enoughLabels || status === generalTranslations.connect}
primary={true}
>
{'Predict State: ' + window.thisLabel + ', Confidence: ' + window.confidences[window.thisLabel].toFixed(2)}