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

Stefan Hanreich s.hanreich at proxmox.com
Thu May 22 18:17:24 CEST 2025


From: Gabriel Goller <g.goller at proxmox.com>

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 1f6778cdb..e5b0a3f3e 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -192,7 +192,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