mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-19 10:42:57 +02:00
Restrict wildcard domains for inference resources
This commit is contained in:
@@ -405,7 +405,10 @@ export default function GeneralForm() {
|
||||
<SettingsFormCell span="full">
|
||||
<div id="resource-domain-picker">
|
||||
<DomainPicker
|
||||
allowWildcard={true}
|
||||
allowWildcard={
|
||||
resource.mode !==
|
||||
"inference"
|
||||
}
|
||||
key={
|
||||
resource.resourceId
|
||||
}
|
||||
|
||||
@@ -928,7 +928,8 @@ export default function Page() {
|
||||
<FormItem>
|
||||
<DomainPicker
|
||||
allowWildcard={
|
||||
true
|
||||
resourceType !==
|
||||
"inference"
|
||||
}
|
||||
orgId={
|
||||
orgId as string
|
||||
|
||||
Reference in New Issue
Block a user