diff options
Diffstat (limited to 'web/src/js/components/common/Button.jsx')
-rw-r--r-- | web/src/js/components/common/Button.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/components/common/Button.jsx b/web/src/js/components/common/Button.jsx index 69471f25..f05a68d0 100644 --- a/web/src/js/components/common/Button.jsx +++ b/web/src/js/components/common/Button.jsx @@ -11,7 +11,7 @@ Button.propTypes = { export default function Button({ onClick, children, icon, disabled, className, title }) { return ( <div className={classnames(className, 'btn btn-default')} - onClick={onClick} + onClick={!disabled && onClick} disabled={disabled} title={title}> {icon && (<i className={"fa fa-fw " + icon}/> )} |