mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 13:41:50 +00:00
ui: qemu/HWView: only render icon when in grid
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
3098f188b3
commit
03558174ef
@ -33,7 +33,13 @@ Ext.define('PVE.qemu.HardwareView', {
|
||||
icon = "<i class='pve-grid-fa fa fa-fw fa-" + iconCls + "'></i>";
|
||||
metaData.tdCls += " pve-itype-fa";
|
||||
}
|
||||
return icon + txt;
|
||||
|
||||
// only return icons in grid but not remove dialog
|
||||
if (rowIndex !== undefined) {
|
||||
return icon + txt;
|
||||
} else {
|
||||
return txt;
|
||||
}
|
||||
},
|
||||
|
||||
initComponent : function() {
|
||||
|
Loading…
Reference in New Issue
Block a user