fix(images): avoid returning null on registryId default value EE-5394 (#8842)

pull/8850/head
matias-portainer 2 years ago committed by GitHub
parent 535e499cc5
commit 2eb4453487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ function RegistryModalService(RegistryService) {
const defaultValue = _.get(registryModel, 'Registry.Id', 0);
const registryId = await selectRegistry(registries, defaultValue);
if (!registryId) {
if (registryId === undefined) {
return null;
}

Loading…
Cancel
Save