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 d3231d2 commit ea5ab8dCopy full SHA for ea5ab8d
system/Debug/Toolbar/Collectors/BaseCollector.php
@@ -64,7 +64,7 @@ class BaseCollector
64
*
65
* @var bool
66
*/
67
- protected $hasLabel = true;
+ protected $hasLabel = false;
68
69
/**
70
* Whether this collector has data that
system/Debug/Toolbar/Views/toolbar.tpl.php
@@ -33,7 +33,7 @@
33
<span><?= $totalMemory ?> MB</span>
34
<span class="ci-label"><a href="javascript: void(0)" data-tab="ci-timeline">Timeline</a></span>
35
<?php foreach ($this->collectors as $c) : ?>
36
- <?php if ($c->hasTabContent() && $c->hasLabel()) : ?>
+ <?php if ($c->hasTabContent() || $c->hasLabel()) : ?>
37
<span class="ci-label">
38
<a href="javascript: void(0)" data-tab="ci-<?= esc($c->getTitle(true)) ?>" >
39
<?= esc($c->getTitle()) ?>
0 commit comments