mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-31 18:46:07 +01:00
Improve a11y (#1841)
Improve accessibility by removing unnecessary tags without hrefs. Also remove many eslint errors and warnings.
This commit is contained in:
@@ -45,7 +45,7 @@ class SvnConfigurationForm extends React.Component<Props, State> {
|
||||
constructor(props: Props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
...props.initialConfiguration
|
||||
...props.initialConfiguration,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ class SvnConfigurationForm extends React.Component<Props, State> {
|
||||
this.setState(
|
||||
// @ts-ignore
|
||||
{
|
||||
[name]: value
|
||||
[name]: value,
|
||||
},
|
||||
() => this.props.onConfigurationChange(this.state, true)
|
||||
);
|
||||
@@ -73,7 +73,7 @@ class SvnConfigurationForm extends React.Component<Props, State> {
|
||||
compatibilityOption = (value: string) => {
|
||||
return {
|
||||
value,
|
||||
label: this.props.t("scm-svn-plugin.config.compatibility-values." + value.toLowerCase())
|
||||
label: this.props.t("scm-svn-plugin.config.compatibility-values." + value.toLowerCase()),
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user