Fixed to use field that exists (#3338)
This commit is contained in:
parent
50a673788f
commit
3ee77abcf4
2 changed files with 2 additions and 2 deletions
|
@ -34,9 +34,9 @@ import { useAccess } from "../../context/access/Access";
|
|||
import { ForbiddenSection } from "../../ForbiddenSection";
|
||||
import { Results } from "./evaluate/Results";
|
||||
import { ClientSelect } from "../../components/client/ClientSelect";
|
||||
import { UserSelect } from "../../components/users/UserSelect";
|
||||
|
||||
import "./auth-evaluate.css";
|
||||
import { UserSelect } from "../../components/users/UserSelect";
|
||||
|
||||
interface EvaluateFormInputs
|
||||
extends Omit<ResourceEvaluation, "context" | "resources"> {
|
||||
|
|
|
@ -49,7 +49,7 @@ export const UserSelect = ({
|
|||
max: 20,
|
||||
};
|
||||
if (search) {
|
||||
params.name = search;
|
||||
params.username = search;
|
||||
}
|
||||
|
||||
if (values?.length && !search) {
|
||||
|
|
Loading…
Reference in a new issue