[pve-devel] [PATCH manager v3 3/3] ui: ha: show failback flag in resources status view

Daniel Kral d.kral at proxmox.com
Fri Jul 4 20:16:59 CEST 2025


As the HA groups' failback flag is now being part of the HA resources
config, it should also be shown there instead of the previous HA groups
view.

Signed-off-by: Daniel Kral <d.kral at proxmox.com>
---
 www/manager6/ha/Resources.js  | 6 ++++++
 www/manager6/ha/StatusView.js | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/www/manager6/ha/Resources.js b/www/manager6/ha/Resources.js
index 097097dc..65897bed 100644
--- a/www/manager6/ha/Resources.js
+++ b/www/manager6/ha/Resources.js
@@ -136,6 +136,12 @@ Ext.define('PVE.ha.ResourcesView', {
                     renderer: (v) => (v === undefined ? '1' : v),
                     dataIndex: 'max_relocate',
                 },
+                {
+                    header: gettext('Failback'),
+                    width: 100,
+                    sortable: true,
+                    dataIndex: 'failback',
+                },
                 {
                     header: gettext('Description'),
                     flex: 1,
diff --git a/www/manager6/ha/StatusView.js b/www/manager6/ha/StatusView.js
index a3ca9fdf..50ad8e84 100644
--- a/www/manager6/ha/StatusView.js
+++ b/www/manager6/ha/StatusView.js
@@ -79,6 +79,10 @@ Ext.define(
                 'sid',
                 'state',
                 'comment',
+                {
+                    name: 'failback',
+                    type: 'boolean',
+                },
                 'max_restart',
                 'max_relocate',
                 'type',
-- 
2.39.5





More information about the pve-devel mailing list