()
| 16518 | } |
| 16519 | |
| 16520 | // Ensure all visually selected items are in selectedModels |
| 16521 | function 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); |
nothing calls this directly
no outgoing calls
no test coverage detected