mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 01:50:29 +00:00
ui: lxc: resources: consider rootfs as a disk again
Commit 809f6b6e
("ui: lxc resources: switch to vector based font
awesome icons") seems like an innocent change, but it broke the
(very brittle) logic here by removing the tdCls for rootfs.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
4981660f2a
commit
4ad3a7cc2c
@ -263,7 +263,7 @@ Ext.define('PVE.lxc.RessourceView', {
|
||||
var rowdef = rows[key];
|
||||
|
||||
var pending = rec.data.delete || me.hasPendingChanges(key);
|
||||
var isDisk = rowdef.tdCls === 'pve-itype-icon-storage';
|
||||
let isDisk = key === 'rootfs' || key.match(/^(mp|unused)\d+/);
|
||||
var isUnusedDisk = key.match(/^unused\d+/);
|
||||
var isUsedDisk = isDisk && !isUnusedDisk;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user