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

Function removeFilterCondition

devtools/modules/filterManager.js:161–166  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

159}
160
161export function removeFilterCondition(index) {
162 state.pendingFilters.splice(index, 1);
163 state.messageFilters = JSON.parse(JSON.stringify(state.pendingFilters));
164 renderFilterConditions();
165 if (callbacks.renderMessageList) callbacks.renderMessageList();
166}
167
168export function clearAllFilters() {
169 state.pendingFilters = [];

Callers 1

Calls 1

renderFilterConditionsFunction · 0.70

Tested by

no test coverage detected