коммит произвёл
George Goldberg
родитель
e2b28f06dc
Коммит
b79439e92b
@@ -7,6 +7,8 @@ import Setting from './setting.jsx';
|
|||||||
|
|
||||||
import {FormattedMessage} from 'react-intl';
|
import {FormattedMessage} from 'react-intl';
|
||||||
|
|
||||||
|
import * as Utils from 'utils/utils.jsx';
|
||||||
|
|
||||||
export default class BooleanSetting extends React.Component {
|
export default class BooleanSetting extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
@@ -42,6 +44,7 @@ export default class BooleanSetting extends React.Component {
|
|||||||
<input
|
<input
|
||||||
type='radio'
|
type='radio'
|
||||||
value='true'
|
value='true'
|
||||||
|
id={Utils.createSafeId(this.props.id) + 'true'}
|
||||||
name={this.props.id}
|
name={this.props.id}
|
||||||
checked={this.props.value}
|
checked={this.props.value}
|
||||||
onChange={this.handleChange}
|
onChange={this.handleChange}
|
||||||
@@ -53,6 +56,7 @@ export default class BooleanSetting extends React.Component {
|
|||||||
<input
|
<input
|
||||||
type='radio'
|
type='radio'
|
||||||
value='false'
|
value='false'
|
||||||
|
id={Utils.createSafeId(this.props.id) + 'false'}
|
||||||
name={this.props.id}
|
name={this.props.id}
|
||||||
checked={!this.props.value}
|
checked={!this.props.value}
|
||||||
onChange={this.handleChange}
|
onChange={this.handleChange}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user