disable add admin group/user button when entry is empty

This commit is contained in:
Maren Süwer
2019-01-28 15:12:26 +01:00
parent af3166c2e6
commit 80e0ffdc61

View File

@@ -48,7 +48,7 @@ class AddEntryToTableField extends React.Component<Props, State> {
<AddButton <AddButton
label={buttonLabel} label={buttonLabel}
action={this.addButtonClicked} action={this.addButtonClicked}
disabled={disabled} disabled={disabled || this.state.entryToAdd ===""}
/> />
</div> </div>
); );