mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
team req for service acc (#13302)
This commit is contained in:
parent
2eef77d960
commit
fd92f3eaf1
1 changed files with 7 additions and 0 deletions
|
|
@ -573,6 +573,13 @@ const CreateKey: React.FC<CreateKeyProps> = ({
|
|||
name="team_id"
|
||||
initialValue={team ? team.team_id : null}
|
||||
className="mt-4"
|
||||
rules={[
|
||||
{
|
||||
required: keyOwner === "service_account",
|
||||
message: "Please select a team for the service account"
|
||||
}
|
||||
]}
|
||||
help={keyOwner === "service_account" ? "required" : ""}
|
||||
>
|
||||
<TeamDropdown
|
||||
teams={teams}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue