Display n/a for sub-requests time when Stopwatch component is not installed

This commit is contained in:
Javier Eguiluz 2017-12-28 12:08:28 +01:00 committed by GitHub
parent 410b597393
commit e9577cb207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
{% set subrequests_time = subrequests_time + child.getcollector('time').events.__section__.duration %}
{% endfor %}
{% else %}
{% set subrequests_time = 0 %}
{% set subrequests_time = 'n/a' %}
{% endif %}
<div class="metric">