[pve-devel] [PATCH pve-manager v5 13/18] utils: avoid line-break in pending changes message

Gabriel Goller g.goller at proxmox.com
Wed Jul 16 15:08:30 CEST 2025


Remove line-break when showing the current status of SDN configuration
objects. Otherwise the column would contain an additional newline,
making the row too large.

Co-authored-by: Gabriel Goller <g.goller at proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 www/manager6/Utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index 29334111a4bf..0dec845d8725 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -191,7 +191,7 @@ Ext.define('PVE.Utils', {
                 if (value === undefined) {
                     return ' ';
                 } else {
-                    return `<div style="text-decoration: line-through;">${Ext.htmlEncode(value)}</div>`;
+                    return `<span style="text-decoration: line-through;">${Ext.htmlEncode(value)}</span>`;
                 }
             } else if (rec.data.pending[key] !== undefined && rec.data.pending[key] !== null) {
                 if (rec.data.pending[key] === 'deleted') {
-- 
2.39.5





More information about the pve-devel mailing list