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

Function handleCancel

renderer.js:16520–16522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16518}
16519
16520// Ensure all visually selected items are in selectedModels
16521function syncSelectedModelsWithDOM() {
16522 document.querySelectorAll('.file-item.selected').forEach(item => {
16523 const itemPath = item.getAttribute('data-filepath') || item.dataset.filepath;
16524 if (itemPath && !isInSelectedModels(itemPath)) {
16525 addToSelectedModels(itemPath);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected