From 75bd5eb2db088ee775d3ccd3a0f1d81d7ec672ff Mon Sep 17 00:00:00 2001 From: vichansson Date: Mon, 29 Jul 2024 11:08:36 +0300 Subject: [PATCH] B OpenNebula/one#6616: Ensure vmBackupConfig is defined (#3174) Signed-off-by: Victor Hansson --- .../Forms/Vm/BackupForm/Steps/BasicConfiguration/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fireedge/src/client/components/Forms/Vm/BackupForm/Steps/BasicConfiguration/index.js b/src/fireedge/src/client/components/Forms/Vm/BackupForm/Steps/BasicConfiguration/index.js index c99e7e2bf22..9e503776eb9 100644 --- a/src/fireedge/src/client/components/Forms/Vm/BackupForm/Steps/BasicConfiguration/index.js +++ b/src/fireedge/src/client/components/Forms/Vm/BackupForm/Steps/BasicConfiguration/index.js @@ -44,7 +44,7 @@ const Content = (props) => { isFetching: fetchingVms, } = useGetVmQuery({ id }) - const vmBackupsConfig = vm?.BACKUPS?.BACKUP_CONFIG + const vmBackupsConfig = vm?.BACKUPS?.BACKUP_CONFIG || {} const incrementalBackupImageId = vm?.BACKUPS?.BACKUP_IDS?.ID const incrementalBackups =