1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #3951: Fix merge provider & provision inputs (#1082)

This commit is contained in:
Sergio Betanzos 2021-04-08 16:06:27 +02:00 committed by GitHub
parent 791ba7f4dc
commit 326c0f9aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ const Inputs = () => ({
// MERGE INPUTS provision template + PROVISION_BODY.inputs (provider fetch)
inputs = provisionTemplate.inputs.map(templateInput =>
PROVISION_BODY.inputs.find(
PROVISION_BODY.inputs?.find(
providerInput => providerInput.name === templateInput.name
) || templateInput
) ?? []