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