diff --git a/app/react/kubernetes/namespaces/components/RegistriesFormSection/RegistriesSelector.tsx b/app/react/kubernetes/namespaces/components/RegistriesFormSection/RegistriesSelector.tsx index e06c26b83..fd952e268 100644 --- a/app/react/kubernetes/namespaces/components/RegistriesFormSection/RegistriesSelector.tsx +++ b/app/react/kubernetes/namespaces/components/RegistriesFormSection/RegistriesSelector.tsx @@ -9,14 +9,14 @@ import { Link } from '@@/Link'; interface Props { value: MultiValue; onChange(value: MultiValue): void; - options: Registry[]; + options?: Registry[]; inputId?: string; } export function RegistriesSelector({ value, onChange, - options, + options = [], inputId, }: Props) { const { isAdmin } = useCurrentUser();