Skip to content

Commit a201ac4

Browse files
committed
fixed MSoverview empty space blocking
1 parent 854b6f7 commit a201ac4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app/components/ServiceOverview.jsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,12 @@ const ServiceOverview = (props) => {
4545
//route button AND traffic button property
4646
const routeButtonProperty = { traffic: {id: 'Traffic', alt: 'Microservice Traffic', src: chartModal}, routes: {id: 'Routes', alt: 'Route Trace', src: routeChart} };
4747

48+
//declare routes array to display routes when modal is toggled
4849
const routes = [];
50+
//declare traffic array to display traffic when modal is toggled
4951
const traffic = [];
52+
53+
//push traffic component logic traffic
5054
traffic.push (
5155

5256
<div className="healthChartContainer">
@@ -69,6 +73,8 @@ const ServiceOverview = (props) => {
6973
</div>
7074

7175
);
76+
77+
//push routes component logic traffic
7278
routes.push(
7379

7480
<div className="healthChartContainer">
@@ -170,11 +176,9 @@ const ServiceOverview = (props) => {
170176
<div>
171177
<h1 className='overviewTitle'>Microservices Overview</h1>
172178
</div>
173-
<div />
174179
<div className="servicesList">{serviceList()}</div>
175-
{/* adding the route tracer button */}
176180
<br/>
177-
<h3>Microservices Communications</h3>
181+
<h1>Microservices Communications</h1>
178182
{modalDisplay ? (
179183
<Modal
180184
chartTitle={chartTitle}
@@ -189,7 +193,7 @@ const ServiceOverview = (props) => {
189193
<div id="routeAndTrafficDisplay">
190194
{routes}
191195
{traffic}
192-
</div>
196+
</div>
193197
</div>
194198
);
195199
};

0 commit comments

Comments
 (0)