diff --git a/internal/gateway/ui/index.html b/internal/gateway/ui/index.html index 174e464..8e3bcd0 100644 --- a/internal/gateway/ui/index.html +++ b/internal/gateway/ui/index.html @@ -2583,8 +2583,7 @@ const sourceRows = new Map(); j.sources.forEach((s) => (s.models || []).forEach((m) => { - if (m.kind === "image") return; - const it = { src: s.name, id: m.id, prio: m.priority || 0 }; + const it = { src: s.name, id: m.id, prio: m.priority || 0, kind: m.kind }; byPair.set(m.id + "|" + s.name, it); if (!byModel.has(m.id)) byModel.set(m.id, it); if (!sourceRows.has(it.prio)) sourceRows.set(it.prio, []); @@ -3408,11 +3407,11 @@ const pairs = []; (srcs || []).forEach((s) => (s.models || []).forEach((m) => { - if (m.kind === "image") return; pairs.push({ src: s.name, id: m.id, - label: m.id + " · " + s.name, + label: m.id + " · " + s.name + (m.kind === "image" ? " (image)" : ""), + kind: m.kind, key: m.id + "|" + s.name, }); }),