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: ( component: (
<Row> <Row>
{!peer_ep_group_id ? ( {!peer_ep_group_id ? (
<Col> <Col span={24}>
<Empty /> <Empty />
</Col> </Col>
) : ( ) : (
this.endpointGroupStore.list.data this.endpointGroupStore.list.data
.find((i) => i.id === peer_ep_group_id) .find((i) => i.id === peer_ep_group_id)
.endpoints.map((item) => <Col>{item}</Col>) .endpoints.map((item) => <Col span={24}>{item}</Col>)
)} )}
</Row> </Row>
), ),

View File

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