fix(images): avoid returning null on registryId default value EE-5394 (#8841)
parent
80a3a5f16e
commit
7ed8e9e167
|
@ -11,7 +11,7 @@ function RegistryModalService(RegistryService) {
|
||||||
const defaultValue = _.get(registryModel, 'Registry.Id', 0);
|
const defaultValue = _.get(registryModel, 'Registry.Id', 0);
|
||||||
|
|
||||||
const registryId = await selectRegistry(registries, defaultValue);
|
const registryId = await selectRegistry(registries, defaultValue);
|
||||||
if (!registryId) {
|
if (registryId === undefined) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue