"Group not found" added
This commit is contained in:
parent
9cbd129d4e
commit
28558fe63f
2
js/admin.min.js
vendored
2
js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
@ -170,6 +170,14 @@ export default class EditUser extends React.Component {
|
|||||||
placeholder = "";
|
placeholder = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.state.searchString.length > 0 && possibleOptions.length === 0) {
|
||||||
|
possibleOptions.push(
|
||||||
|
<li className={"select2-results__option"} role={"option"} key={"group-notfound"} aria-selected={true}>
|
||||||
|
Group not found
|
||||||
|
</li>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
form = <form role={"form"} onSubmit={this.onSubmitForm.bind(this)}>
|
form = <form role={"form"} onSubmit={this.onSubmitForm.bind(this)}>
|
||||||
<div className={"form-group"}>
|
<div className={"form-group"}>
|
||||||
<label htmlFor={"username"}>Username</label>
|
<label htmlFor={"username"}>Username</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user