mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 09:59:33 +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>";
|
icon = "<i class='pve-grid-fa fa fa-fw fa-" + iconCls + "'></i>";
|
||||||
metaData.tdCls += " pve-itype-fa";
|
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() {
|
initComponent : function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user