fix update pipelineProgress with 0 probability (#1144)
This commit is contained in:
@ -91,14 +91,12 @@ export function ProbabilityEditableFieldEditMode({ viewField }: OwnProps) {
|
||||
|
||||
function handleChange(newValue: number) {
|
||||
setFieldValue(newValue);
|
||||
if (currentEntityId && updateField && newValue) {
|
||||
if (currentEntityId && updateField) {
|
||||
updateField(currentEntityId, viewField, newValue);
|
||||
}
|
||||
closeEditableField();
|
||||
}
|
||||
|
||||
console.log(probabilityIndex);
|
||||
|
||||
return (
|
||||
<StyledContainer>
|
||||
<StyledLabel>
|
||||
|
||||
Reference in New Issue
Block a user