mirror of https://github.com/portainer/portainer
fix(images): avoid returning null on registryId default value EE-5394 (#8842)
parent
535e499cc5
commit
2eb4453487
|
@ -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