diff --git a/client/components/routeservers/routes/bgp-attributes-modal.jsx b/client/components/routeservers/routes/bgp-attributes-modal.jsx
index 7474556..6e7ba0d 100644
--- a/client/components/routeservers/routes/bgp-attributes-modal.jsx
+++ b/client/components/routeservers/routes/bgp-attributes-modal.jsx
@@ -69,21 +69,24 @@ class BgpAttributesModal extends React.Component {
AS Path: | {attrs.bgp.as_path.join(' ')} |
}
-
- Communities: |
- {communities.join(' ')} |
-
-
- |
-
- {communities.map((c) => )}
- |
-
+ {communities.length > 0 &&
+
+ Communities: |
+ {communities.join(' ')} |
+
}
+ {communities.length > 0 &&
+
+ |
+
+ {communities.map((c) => )}
+ |
+
}
{large_communities.length > 0 &&
Large Communities: |
{large_communities.join(' ')} |
-
+ }
+ {large_communities.length > 0 &&
|
|