fix: broken thread settings - component disabled (#2696)

This commit is contained in:
Louis 2024-04-11 23:53:59 +07:00 committed by GitHub
parent 8cea51e733
commit d5946e68cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ const ModelSetting: React.FC<Props> = ({
disabled = false, disabled = false,
}) => ( }) => (
<SettingComponentBuilder <SettingComponentBuilder
disabled={!disabled} disabled={disabled}
componentProps={componentProps} componentProps={componentProps}
onValueUpdated={onValueChanged} onValueUpdated={onValueChanged}
/> />