True when sidebar pick should complete a dangling AND/OR/NOT from the toolbar.
()
| 464 | |
| 465 | function atomsFromSingleFilterChangeElement(elementId) { |
| 466 | if (elementId === "printed-select") { |
| 467 | const p = document.getElementById("printed-select")?.value || "all"; |
| 468 | return p !== "all" ? [{ t: "filter", kind: "printed", value: p }] : []; |
| 469 | } |
| 470 | if (elementId === "new-select") { |
| 471 | const n = document.getElementById("new-select")?.value || "all"; |
| 472 | return n !== "all" ? [{ t: "filter", kind: "isNew", value: n }] : []; |
| 473 | } |
| 474 | if (elementId === "favorite-select") { |
no outgoing calls
no test coverage detected