Unified · Split
| @@ -111,7 +111,8 @@ export default function AddOpenApiSource(props: { · 110 unmodified lines | ||
| 111 | 111 | // Agent-visible description: prefilled from the spec's `info.description` |
| 112 | 112 | // until the user types (null = untouched, keep deriving from the preview). |
| 113 | 113 | const [descriptionDraft, setDescriptionDraft] = useState<string | null>(null); |
| 114 | − const identityFallbackName = preview ? Option.getOrElse(preview.title, () => "") : ""; | |
| 114 | + const identityFallbackName = | |
| 115 | + initialPreset?.name ?? (preview ? Option.getOrElse(preview.title, () => "") : ""); | |
| 115 | 116 | const identity = useIntegrationIdentity({ |
| 116 | 117 | fallbackName: identityFallbackName, |
| 117 | 118 | fallbackNamespace: props.initialNamespace, |