[pbs-devel] [PATCH proxmox-backup 4/9] ui: datastore options view: switch to new notification-mode default
Lukas Wagner
l.wagner at proxmox.com
Mon Jun 23 16:13:10 CEST 2025
This default is displayed in the grid panel if the datastore config
retrieved from the API does not contain any value for notification-mode.
Since the default changed from 'legacy-sendmail' to 'notification-mode'
in the schema datatype, the defaultValue field needs to be adapted as
well.
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
www/datastore/OptionView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/datastore/OptionView.js b/www/datastore/OptionView.js
index adbb3b65..184353e0 100644
--- a/www/datastore/OptionView.js
+++ b/www/datastore/OptionView.js
@@ -166,7 +166,7 @@ Ext.define('PBS.Datastore.Options', {
rows: {
'notification-mode': {
required: true,
- defaultValue: 'legacy-sendmail',
+ defaultValue: 'notification-system',
header: gettext('Notification mode'),
renderer: function (value) {
if (value === 'notification-system') {
--
2.39.5
More information about the pbs-devel
mailing list