MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / effectiveScalarValues

Function effectiveScalarValues

query-builder.js:86–96  ·  view source on GitHub ↗
(kind, selectId)

Source from the content-addressed store, hash-verified

84 initState();
85 window.multiFilterChips[kind] = [];
86 renderChips(kind);
87 }
88
89 function clearAllMultiChips() {
90 MULTI_KEYS.forEach(clearChipsKind);
91 }
92
93 function effectiveScalarValues(kind, selectId) {
94 initState();
95 const chips = window.multiFilterChips[kind] || [];
96 if (chips.length) {
97 return { values: chips.slice(), combine: getCombine(kind) };
98 }
99 const sel = document.getElementById(selectId);

Callers 4

effectiveTagValuesFunction · 0.85
pushKindFunction · 0.85

Calls 2

initStateFunction · 0.85
getCombineFunction · 0.85

Tested by

no test coverage detected