From 85acfb9471c38f8a7bae214a096fdaa452ecb163 Mon Sep 17 00:00:00 2001 From: "Jingwei.Zhang" Date: Tue, 30 Aug 2022 16:59:42 +0800 Subject: [PATCH] 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 --- .../containers/FloatingIp/Detail/PortForwarding/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/network/containers/FloatingIp/Detail/PortForwarding/index.jsx b/src/pages/network/containers/FloatingIp/Detail/PortForwarding/index.jsx index aa4469ba..479652fc 100644 --- a/src/pages/network/containers/FloatingIp/Detail/PortForwarding/index.jsx +++ b/src/pages/network/containers/FloatingIp/Detail/PortForwarding/index.jsx @@ -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;