From bf111b104e333859840418dea62a20e128c3b133 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 25 Dec 2023 13:48:42 +0100 Subject: [PATCH] fix(GUI): ensure postgresql GUI backup options are only shown if backup is actually enabled --- templates/questions/postgresql/postgresql.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/questions/postgresql/postgresql.yaml b/templates/questions/postgresql/postgresql.yaml index b87ddf02e40..ae46dbde6ca 100644 --- a/templates/questions/postgresql/postgresql.yaml +++ b/templates/questions/postgresql/postgresql.yaml @@ -403,6 +403,7 @@ schema: type: list default: [] + show_if: [["enabled", "=", true]] items: - variable: backupschedule label: BackupSchedule @@ -443,6 +444,7 @@ schema: type: list default: [] + show_if: [["enabled", "=", true]] items: - variable: backup label: Backup