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

Function removeChip

query-builder.js:69–74  ·  view source on GitHub ↗
(kind, raw)

Source from the content-addressed store, hash-verified

67 }
68
69 function removeChip(kind, raw) {
70 initState();
71 const v = String(raw);
72 window.multiFilterChips[kind] = (window.multiFilterChips[kind] || []).filter((x) => x !== v);
73 renderChips(kind);
74 }
75
76 function clearChipsKind(kind) {
77 initState();

Callers 1

wireMultiFilterUIFunction · 0.85

Calls 2

initStateFunction · 0.85
renderChipsFunction · 0.85

Tested by

no test coverage detected