fix(ROIThreshold): fix setWeight not updating properly for ROIThreshold panel (#3315)

This commit is contained in:
dxlin 2023-04-06 14:05:46 -04:00 committed by GitHub
parent d3da969d23
commit 1173e7de6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,9 @@ function ROIThresholdConfiguration({ config, dispatch, runCommand }) {
onChange={e => {
dispatch({
type: 'setWeight',
payload: e.target.value,
payload: {
weight: e.target.value,
},
});
}}
/>