mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
Fixed bug which caused loading state in GroupForm not to be set correctly
This commit is contained in:
@@ -63,7 +63,7 @@ class GroupForm extends React.Component<Props, State> {
|
||||
|
||||
render() {
|
||||
const { t, loading } = this.props;
|
||||
const { group } = this.state
|
||||
const group = this.state.group
|
||||
let nameField = null;
|
||||
if (!this.props.group) {
|
||||
nameField = (
|
||||
@@ -76,7 +76,7 @@ class GroupForm extends React.Component<Props, State> {
|
||||
/>
|
||||
);
|
||||
}
|
||||
return (
|
||||
return (
|
||||
<form onSubmit={this.onSubmit}>
|
||||
{nameField}
|
||||
<InputField
|
||||
|
||||
Reference in New Issue
Block a user