Fix offenders not being displayed for globalVariables and synchronousXHR
This commit is contained in:
parent
38b362e5fe
commit
e46d4cff27
1 changed files with 9 additions and 1 deletions
|
@ -179,10 +179,18 @@
|
|||
(<ng-pluralize count="offender.requests" when="{'one':'1 request','other':'{} requests'}"></ng-pluralize>)
|
||||
</div>
|
||||
|
||||
<div ng-if="policyName === 'globalVariables' || policyName === 'jQueryVersionsLoaded' || policyName === 'synchronousXHR'">
|
||||
<div ng-if="policyName === 'globalVariables'">
|
||||
{{offender}}
|
||||
</div>
|
||||
|
||||
<div ng-if="policyName === 'jQueryVersionsLoaded'">
|
||||
{{offender.version}}
|
||||
</div>
|
||||
|
||||
<div ng-if="policyName === 'synchronousXHR'">
|
||||
{{offender.url}}
|
||||
</div>
|
||||
|
||||
<div ng-if="policyName === 'fontsCount'">
|
||||
<url-link url="offender.url" max-length="70"></url-link>
|
||||
({{offender.size | bytes}})
|
||||
|
|
Loading…
Reference in a new issue