PLT-2886 Added name properties to all radio buttons (#3112)
* Removed unused, deprecated system console page * Added name properties to all radio buttons * Removed unused english strings from admin console
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
6fecfcc7ca
Коммит
8a7e1b6dff
@@ -42,6 +42,7 @@ export default class BooleanSetting extends React.Component {
|
||||
<input
|
||||
type='radio'
|
||||
value='true'
|
||||
name={this.props.id}
|
||||
checked={this.props.value}
|
||||
onChange={this.handleChange}
|
||||
disabled={this.props.disabled}
|
||||
@@ -52,6 +53,7 @@ export default class BooleanSetting extends React.Component {
|
||||
<input
|
||||
type='radio'
|
||||
value='false'
|
||||
name={this.props.id}
|
||||
checked={!this.props.value}
|
||||
onChange={this.handleChange}
|
||||
disabled={this.props.disabled}
|
||||
@@ -65,13 +67,13 @@ export default class BooleanSetting extends React.Component {
|
||||
BooleanSetting.defaultProps = {
|
||||
trueText: (
|
||||
<FormattedMessage
|
||||
id='admin.ldap.true'
|
||||
id='admin.true'
|
||||
defaultMessage='true'
|
||||
/>
|
||||
),
|
||||
falseText: (
|
||||
<FormattedMessage
|
||||
id='admin.ldap.false'
|
||||
id='admin.false'
|
||||
defaultMessage='false'
|
||||
/>
|
||||
),
|
||||
|
||||
Ссылка в новой задаче
Block a user