mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-19 17:24:57 +02:00
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:
committed by
GitHub
parent
9bb932d16d
commit
20b0733cee
+1
-1
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user