fix: remove page size change in the port forwarding popover
1. Remove the page size change in the port forwarding popover when the port forwarding is more then 50. 2. Update the port forwarding popover title to the plural form Change-Id: I3ca04d2d48d27db5d9329fdc601a5a991335810e
This commit is contained in:
parent
202b45b269
commit
62fcb1d585
@ -1787,7 +1787,6 @@
|
|||||||
"Port": "Port",
|
"Port": "Port",
|
||||||
"Port Count": "Port Count",
|
"Port Count": "Port Count",
|
||||||
"Port Detail": "Port Detail",
|
"Port Detail": "Port Detail",
|
||||||
"Port Forwarding": "Port Forwarding",
|
|
||||||
"Port Forwardings": "Port Forwardings",
|
"Port Forwardings": "Port Forwardings",
|
||||||
"Port Group": "Port Group",
|
"Port Group": "Port Group",
|
||||||
"Port Groups": "Port Groups",
|
"Port Groups": "Port Groups",
|
||||||
|
@ -1787,7 +1787,6 @@
|
|||||||
"Port": "端口",
|
"Port": "端口",
|
||||||
"Port Count": "端口数量",
|
"Port Count": "端口数量",
|
||||||
"Port Detail": "端口详情",
|
"Port Detail": "端口详情",
|
||||||
"Port Forwarding": "端口转发",
|
|
||||||
"Port Forwardings": "端口转发",
|
"Port Forwardings": "端口转发",
|
||||||
"Port Group": "端口组",
|
"Port Group": "端口组",
|
||||||
"Port Groups": "端口组",
|
"Port Groups": "端口组",
|
||||||
|
@ -159,10 +159,6 @@ export class FloatingIps extends Base {
|
|||||||
return getPortForwardingName(rest, fip);
|
return getPortForwardingName(rest, fip);
|
||||||
}
|
}
|
||||||
|
|
||||||
get portForwardingResourceName() {
|
|
||||||
return t('Port Forwarding');
|
|
||||||
}
|
|
||||||
|
|
||||||
get portForwardingResourcesName() {
|
get portForwardingResourcesName() {
|
||||||
return t('Port Forwardings');
|
return t('Port Forwardings');
|
||||||
}
|
}
|
||||||
@ -194,6 +190,7 @@ export class FloatingIps extends Base {
|
|||||||
hideOnSinglePage: true,
|
hideOnSinglePage: true,
|
||||||
pageSize,
|
pageSize,
|
||||||
size: 'small',
|
size: 'small',
|
||||||
|
showSizeChanger: false,
|
||||||
}}
|
}}
|
||||||
dataSource={newData}
|
dataSource={newData}
|
||||||
renderItem={(item) => {
|
renderItem={(item) => {
|
||||||
@ -208,7 +205,7 @@ export class FloatingIps extends Base {
|
|||||||
return (
|
return (
|
||||||
<Popover
|
<Popover
|
||||||
content={content}
|
content={content}
|
||||||
title={this.portForwardingResourceName}
|
title={this.portForwardingResourcesName}
|
||||||
destroyTooltipOnHide
|
destroyTooltipOnHide
|
||||||
placement="right"
|
placement="right"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user