mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
allow creation and modification of groups without description
This commit is contained in:
@@ -55,11 +55,7 @@ class GroupForm extends React.Component<Props, State> {
|
||||
|
||||
isValid = () => {
|
||||
const group = this.state.group;
|
||||
return !(
|
||||
this.state.nameValidationError ||
|
||||
this.isFalsy(group.name) ||
|
||||
this.isFalsy(group.description)
|
||||
);
|
||||
return !(this.state.nameValidationError || this.isFalsy(group.name));
|
||||
};
|
||||
|
||||
submit = (event: Event) => {
|
||||
|
||||
Reference in New Issue
Block a user