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

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

(cherry picked from commit 326c0f9aa2f9637f7c3bc48d925b6fed6625188f)
This commit is contained in:
Sergio Betanzos 2021-04-08 16:06:27 +02:00 committed by Ruben S. Montero
parent 202b57d588
commit 2e43b82c39
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

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
) ?? []