Spaces:
Building
Building
Update flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.html
Browse files
flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.html
CHANGED
@@ -379,18 +379,18 @@
|
|
379 |
Time: {{ testResult.response_time_ms }}ms
|
380 |
</span>
|
381 |
</div>
|
382 |
-
|
383 |
<div *ngIf="testResult.error" class="error-message">
|
384 |
<mat-icon>error_outline</mat-icon>
|
385 |
{{ testResult.error }}
|
386 |
</div>
|
387 |
-
|
388 |
<div *ngIf="testResult.headers" class="response-section">
|
389 |
<h5>Response Headers:</h5>
|
390 |
<pre>{{ testResult.headers | json }}</pre>
|
391 |
</div>
|
392 |
-
|
393 |
-
<div *ngIf="testResult.body" class="response-section">
|
394 |
<h5>Response Body:</h5>
|
395 |
<pre>{{ testResult.body }}</pre>
|
396 |
</div>
|
|
|
379 |
Time: {{ testResult.response_time_ms }}ms
|
380 |
</span>
|
381 |
</div>
|
382 |
+
|
383 |
<div *ngIf="testResult.error" class="error-message">
|
384 |
<mat-icon>error_outline</mat-icon>
|
385 |
{{ testResult.error }}
|
386 |
</div>
|
387 |
+
|
388 |
<div *ngIf="testResult.headers" class="response-section">
|
389 |
<h5>Response Headers:</h5>
|
390 |
<pre>{{ testResult.headers | json }}</pre>
|
391 |
</div>
|
392 |
+
|
393 |
+
<div *ngIf="testResult.body !== undefined" class="response-section">
|
394 |
<h5>Response Body:</h5>
|
395 |
<pre>{{ testResult.body }}</pre>
|
396 |
</div>
|