1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00

added client communities

This commit is contained in:
Matthias Hannig
2018-08-13 11:10:25 +02:00
parent e93d8cd4e1
commit e248cc2228

View File

@ -69,21 +69,24 @@ class BgpAttributesModal extends React.Component {
<tr>
<th>AS Path:</th><td>{attrs.bgp.as_path.join(' ')}</td>
</tr>}
<tr>
<th>Communities:</th>
<td>{communities.join(' ')}</td>
</tr>
<tr>
<th></th>
<td>
{communities.map((c) => <BgpCommunitiyLabel community={c} key={c} />)}
</td>
</tr>
{communities.length > 0 &&
<tr>
<th>Communities:</th>
<td>{communities.join(' ')}</td>
</tr>}
{communities.length > 0 &&
<tr>
<th></th>
<td>
{communities.map((c) => <BgpCommunitiyLabel community={c} key={c} />)}
</td>
</tr>}
{large_communities.length > 0 &&
<tr>
<th>Large Communities:</th>
<td>{large_communities.join(' ')}</td>
</tr>
</tr>}
{large_communities.length > 0 &&
<tr>
<th></th>
<td>