diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-16 21:38:47 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-16 21:38:47 +0200 |
| commit | 8048cfc3981f79f2b65b23c124581aa51ef3768b (patch) | |
| tree | 3feacc6c1de0ffc81b4a7e89baa068ef14ad8fc2 /app/client/common | |
| parent | 20365914ca1b905c5710ac3e590aaf1e06ffa221 (diff) | |
paramgroup pix2pix checkbox for server record
Diffstat (limited to 'app/client/common')
| -rw-r--r-- | app/client/common/paramGroup.component.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/common/paramGroup.component.js b/app/client/common/paramGroup.component.js index 13b46a5..1fb875c 100644 --- a/app/client/common/paramGroup.component.js +++ b/app/client/common/paramGroup.component.js @@ -12,6 +12,7 @@ class ParamGroup extends Component { clearTimeout(this.timeout) let new_value = e.target.checked this.props.actions.set_param(this.props.name, new_value) + this.props.onToggle && this.props.onToggle(new_value) } render() { const checked = this.props.opt[this.props.name] |
