summaryrefslogtreecommitdiff
path: root/app/client/common
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-22 17:04:55 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-22 17:04:55 +0200
commita3573815ed1f6f2cc1388ae91cc7d07eb9980785 (patch)
treebdd6f5a857f1f4551fa0e41e87da924f424fecc8 /app/client/common
parent83c9100bdd0887bc18ac5fe786699bc150c37cb9 (diff)
deploy bundle
Diffstat (limited to 'app/client/common')
-rw-r--r--app/client/common/paramGroup.component.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/client/common/paramGroup.component.js b/app/client/common/paramGroup.component.js
index 1fb875c..7b47c78 100644
--- a/app/client/common/paramGroup.component.js
+++ b/app/client/common/paramGroup.component.js
@@ -17,7 +17,8 @@ class ParamGroup extends Component {
render() {
const checked = this.props.opt[this.props.name]
const toggle = !this.props.noToggle
- const className = (!toggle || checked) ? 'paramGroup active' : 'paramGroup inactive'
+ const dim = !this.props.noDim
+ const className = (!dim || !toggle || checked) ? 'paramGroup active' : 'paramGroup inactive'
return (
<div className={className}>
<label>