We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48329a5 commit 88e23e1Copy full SHA for 88e23e1
Resources/views/Collector/security.html.twig
@@ -5,9 +5,9 @@
5
{% block toolbar %}
6
{% if collector.token %}
7
{% set is_authenticated = collector.enabled and collector.authenticated %}
8
- {% set color_code = is_authenticated ? '' : 'yellow' %}
+ {% set color_code = not is_authenticated ? 'yellow' %}
9
{% else %}
10
- {% set color_code = collector.enabled ? 'red' : '' %}
+ {% set color_code = collector.enabled ? 'red' %}
11
{% endif %}
12
13
{% set icon %}
0 commit comments