ui: replace literal comment text in sheet group snippet

A // line inside the Svelte snippet rendered as visible text; use an
HTML comment.

Assisted-by: pi
This commit is contained in:
Aleksander Grygier
2026-08-27 09:50:52 +02:00
committed by GitHub
parent 9bb932d16d
commit 20b0733cee
@@ -252,7 +252,7 @@
{#snippet sheetGroupRow(group: ToolGroup)}
{@const checked = toolsPanel.isGroupChecked(group)}
{@const enabledCount = toolsPanel.getEnabledToolCount(group)}
// parent on but nothing under it enabled, or partially enabled: show mixed state
<!-- mixed state: parent on but nothing or only part of it enabled -->
{@const indeterminate =
group.tools.length > 0 && (enabledCount === 0 ? checked : enabledCount < group.tools.length)}
{@const favicon = toolsPanel.getFavicon(group)}