aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/Slider.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/Slider.tsx')
-rw-r--r--src/components/ui/Slider.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ui/Slider.tsx b/src/components/ui/Slider.tsx
index ed9fe9073..be0846513 100644
--- a/src/components/ui/Slider.tsx
+++ b/src/components/ui/Slider.tsx
@@ -51,7 +51,7 @@ class Slider extends Component<IProps> {
51 value={field.value} 51 value={field.value}
52 min="1" 52 min="1"
53 max="100" 53 max="100"
54 onChange={e => (!disabled ? this.onChange(e) : null)} 54 onChange={e => (disabled ? null : this.onChange(e))}
55 /> 55 />
56 </div> 56 </div>
57 57