Skip to content

Commit 2f8c3d4

Browse files
Update debug_toolbar/toolbar.py
Co-authored-by: Tim Schilling <[email protected]>
1 parent 0c15dde commit 2f8c3d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug_toolbar/toolbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def health_level(self):
8282
if not self.panels:
8383
return HealthLevel.NONE
8484

85-
return max(panel.health_level for panel in self.panels)
85+
return max(panel.health_level for panel in self.enabled_panels)
8686

8787
def get_panel_by_id(self, panel_id):
8888
"""

0 commit comments

Comments
 (0)