8000 Display n/a for sub-requests time when Stopwatch component is not ins… · ostrolucky/symfony@e9577cb · GitHub
[go: up one dir, main page]

Skip to content

Commit e9577cb

Browse files
Display n/a for sub-requests time when Stopwatch component is not installed
1 parent 410b597 commit e9577cb

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
{% set subrequests_time = subrequests_time + child.getcollector('time').events.__section__.duration %}
8484
{% endfor %}
8585
{% else %}
86-
{% set subrequests_time = 0 %}
86+
{% set subrequests_time = 'n/a' %}
8787
{% endif %}
8888

8989
<div class="metric">

0 commit comments

Comments
 (0)
0