Ensure we reset the days and hours of the backup schedule when showing the dialog

This commit is contained in:
Johannes Zellner
2025-12-04 10:40:40 +01:00
parent 37c569a976
commit ea93d197ab
@@ -67,6 +67,8 @@ defineExpose({
site.value = s;
busy.value = false;
formError.value = false;
days.value = [];
hours.value = [];
const currentRetentionString = JSON.stringify(site.value.retention);
const selectedRetention = BackupSitesModel.backupRetentions.find(function (x) { return JSON.stringify(x.id) === currentRetentionString; });