mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
fix(images): avoid returning null on registryId default value EE-5394 (#8841)
This commit is contained in:
parent
80a3a5f16e
commit
7ed8e9e167
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue