Skip to content

Commit

Permalink
B #6616: Ensure vmBackupConfig is defined (#3174)
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
  • Loading branch information
vichansson authored Jul 29, 2024
1 parent 5f488ba commit 75bd5eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 75bd5eb

Please sign in to comment.