feat(xo-web/SR/advanced): add VDI UUID in coalesce table (#2919)
Fixes #2903
This commit is contained in:
parent
6780146505
commit
9c05a59b5f
@ -540,10 +540,11 @@ const messages = {
|
||||
|
||||
// ----- SR advanced tab -----
|
||||
|
||||
srUnhealthyVdiDepth: 'Depth',
|
||||
srUnhealthyVdiNameLabel: 'Name',
|
||||
srUnhealthyVdiSize: 'Size',
|
||||
srUnhealthyVdiDepth: 'Depth',
|
||||
srUnhealthyVdiTitle: 'VDI to coalesce ({total, number})',
|
||||
srUnhealthyVdiUuid: 'UUID',
|
||||
|
||||
// ----- SR stats tab -----
|
||||
|
||||
|
@ -14,20 +14,25 @@ import { flowRight, isEmpty, keys, sum, values } from 'lodash'
|
||||
|
||||
const COLUMNS = [
|
||||
{
|
||||
itemRenderer: _ => <span>{_.name_label}</span>,
|
||||
name: _('srUnhealthyVdiNameLabel'),
|
||||
itemRenderer: vdi => <span>{vdi.name_label}</span>,
|
||||
sortCriteria: vdi => vdi.name_label,
|
||||
sortCriteria: 'name_label',
|
||||
},
|
||||
{
|
||||
name: _('srUnhealthyVdiSize'),
|
||||
itemRenderer: vdi => formatSize(vdi.size),
|
||||
sortCriteria: vdi => vdi.size,
|
||||
name: _('srUnhealthyVdiSize'),
|
||||
sortCriteria: 'size',
|
||||
},
|
||||
{
|
||||
name: _('srUnhealthyVdiDepth'),
|
||||
itemRenderer: (vdi, chains) => chains[vdi.uuid],
|
||||
name: _('srUnhealthyVdiDepth'),
|
||||
sortCriteria: (vdi, chains) => chains[vdi.uuid],
|
||||
},
|
||||
{
|
||||
itemRenderer: _ => <Copiable tagName='div'>{_.uuid}</Copiable>,
|
||||
name: _('srUnhealthyVdiUuid'),
|
||||
sortCriteria: 'uuid',
|
||||
},
|
||||
]
|
||||
|
||||
const UnhealthyVdiChains = flowRight(
|
||||
|
Loading…
Reference in New Issue
Block a user