From b2ab5b7c9c1420ad11322a17289fb7f7fa4811a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Czern=C3=BD?= Date: Thu, 5 Sep 2024 16:38:11 +0200 Subject: [PATCH] B #6532: Sunstone fix backup volatile disk checkmark (#3216) --- .../templates-tab/form-panels/create/wizard-tabs/backup.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/backup.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/backup.js index 6ac3ab720a0..7f43cedd599 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/backup.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/backup.js @@ -99,9 +99,7 @@ define(function(require) { var mode = _getValue(idsElements.mode, context); var increment_mode = _getValue(idsElements.increment_mode, context); - if (backupVolatile){ - backupConfigJSON['BACKUP_VOLATILE'] = 'YES' - } + backupConfigJSON['BACKUP_VOLATILE'] = backupVolatile ? 'YES' : 'NO'; if (fsFreeze !== '-' ){ backupConfigJSON['FS_FREEZE'] = fsFreeze