MCPcopy Create free account
hub / github.com/bywwcnll/StreamPanel / clearAllFilters

Function clearAllFilters

devtools/modules/filterManager.js:168–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166}
167
168export function clearAllFilters() {
169 state.pendingFilters = [];
170 state.messageFilters = [];
171 elements.messageFilterContainer.style.display = 'none';
172 elements.btnToggleFilter.classList.remove('expanded');
173 renderFilterConditions();
174 if (callbacks.renderMessageList) callbacks.renderMessageList();
175}
176
177export function applyFilters() {
178 state.messageFilters = JSON.parse(JSON.stringify(state.pendingFilters));

Callers

nothing calls this directly

Calls 1

renderFilterConditionsFunction · 0.70

Tested by

no test coverage detected