MCPcopy Create free account
hub / github.com/Cosmian/kms / setActive

Function setActive

documentation/docs/javascripts/log_filter.js:160–165  ·  view source on GitHub ↗
(level)

Source from the content-addressed store, hash-verified

158 }
159
160 function setActive(level) {
161 for (const [l, b] of levelBtns) {
162 const color = l === "" ? ALL_COLOR : LEVEL_COLORS[l];
163 styleBtn(b, color, l === "" ? level === "" : l === level);
164 }
165 }
166
167 filterRow.addEventListener("click", (e) => {
168 const btn = e.target.closest("button");

Callers 1

buildDomainControlsFunction · 0.85

Calls 1

styleBtnFunction · 0.85

Tested by

no test coverage detected