Skip to content

Commit ea15ce1

Browse files
author
Bernt Røskar Brenna
committed
Web UI display info if request recording is switched off for an endpoint
1 parent dc2c683 commit ea15ce1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

netmockery/Views/Endpoints/EndpointDetails.cshtml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@
7373

7474
@Html.ActionLink("Responses", "ForEndpoint", "Responses", new { endpointName = Model.Name })
7575

76+
@if (! Model.RecordRequests)
77+
{
78+
<text>(only errors are recorded for @Model.Name endpoint)</text>
79+
}
80+
7681
@if (Model.ParameterCount > 0)
7782
{
7883
<h2>

0 commit comments

Comments
 (0)