feat: Add float ip address column
Add float ip address column in virtualAdapter Change-Id: Ib31ea4b0f1394a5fff05747f7c696aeccf541d80
This commit is contained in:
parent
bec7b84845
commit
095006b426
@ -163,7 +163,7 @@ export default class VirtualAdapter extends Base {
|
||||
<>
|
||||
{item.device_owner}
|
||||
{item.device_owner && <br />}
|
||||
{item.device_id}
|
||||
{item.device_id || '-'}
|
||||
</>
|
||||
);
|
||||
},
|
||||
@ -199,6 +199,14 @@ export default class VirtualAdapter extends Base {
|
||||
dataIndex: 'mac_address',
|
||||
isHideable: true,
|
||||
},
|
||||
{
|
||||
title: t('Floating IP Address'),
|
||||
dataIndex: 'associatedDetail',
|
||||
isHideable: true,
|
||||
render: (value) =>
|
||||
value && value.length ? value[0].floating_ip_address : '-',
|
||||
sorter: false,
|
||||
},
|
||||
// {
|
||||
// title: t('Associated Resources'),
|
||||
// dataIndex: 'device_owner',
|
||||
|
Loading…
Reference in New Issue
Block a user