Merge "fix: Fix for network download & vpn tunnel create css"

This commit is contained in:
Zuul 2021-08-27 11:30:41 +00:00 committed by Gerrit Code Review
commit 4a8970a134
2 changed files with 3 additions and 2 deletions

View File

@ -214,13 +214,13 @@ export default class Create extends ModalAction {
component: (
<Row>
{!peer_ep_group_id ? (
<Col>
<Col span={24}>
<Empty />
</Col>
) : (
this.endpointGroupStore.list.data
.find((i) => i.id === peer_ep_group_id)
.endpoints.map((item) => <Col>{item}</Col>)
.endpoints.map((item) => <Col span={24}>{item}</Col>)
)}
</Row>
),

View File

@ -75,6 +75,7 @@ export const networkColumns = (self) => [
</>
);
},
stringify: (subnets) => `${subnets.length}(${subnets.join(',')})`,
sorter: false,
},
{