mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +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 = () => {
|
isValid = () => {
|
||||||
const group = this.state.group;
|
const group = this.state.group;
|
||||||
return !(
|
return !(this.state.nameValidationError || this.isFalsy(group.name));
|
||||||
this.state.nameValidationError ||
|
|
||||||
this.isFalsy(group.name) ||
|
|
||||||
this.isFalsy(group.description)
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
submit = (event: Event) => {
|
submit = (event: Event) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user