fix(namespace): handle undefined registry options [EE-6366] (#10683)

Co-authored-by: testa113 <testa113>
pull/10684/head
Ali 1 year ago committed by GitHub
parent a4b17d2548
commit 2f91315ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,14 +9,14 @@ import { Link } from '@@/Link';
interface Props {
value: MultiValue<Registry>;
onChange(value: MultiValue<Registry>): void;
options: Registry[];
options?: Registry[];
inputId?: string;
}
export function RegistriesSelector({
value,
onChange,
options,
options = [],
inputId,
}: Props) {
const { isAdmin } = useCurrentUser();

Loading…
Cancel
Save