fix: fix download data for port forwardings
1. Fix the external port/port range data in the download file 2. Fix the internal port/port range data in the download file Change-Id: I54f7c443392d353f5f673200bc7d9bed5204f06a
This commit is contained in:
parent
fb6935457a
commit
85acfb9471
@ -22,7 +22,6 @@ import actionConfigs from './actions';
|
||||
export class PortForwarding extends Base {
|
||||
init() {
|
||||
this.store = new PortForwardingStore();
|
||||
this.downloadStore = new PortForwardingStore();
|
||||
}
|
||||
|
||||
get policy() {
|
||||
@ -60,6 +59,7 @@ export class PortForwarding extends Base {
|
||||
{
|
||||
title: t('External Port/Port Range'),
|
||||
dataIndex: 'external_port',
|
||||
splitColumnForDownload: false,
|
||||
render: (value, record) => {
|
||||
return value || record.external_port_range;
|
||||
},
|
||||
@ -72,6 +72,7 @@ export class PortForwarding extends Base {
|
||||
{
|
||||
title: t('Internal Port/Port Range'),
|
||||
dataIndex: 'internal_port',
|
||||
splitColumnForDownload: false,
|
||||
isHideable: true,
|
||||
render: (value, record) => {
|
||||
return value || record.internal_port_range;
|
||||
|
Loading…
Reference in New Issue
Block a user