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

Function updateSelectedCount

renderer.js:11631–11649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11629 }
11630 });
11631
11632 // Update the selected count
11633 updateSelectedCount();
11634
11635 // Show multi-edit panel if there are selections
11636 if (selectedModels.size > 0) {
11637 showMultiEditPanel();
11638 }
11639 } catch (error) {
11640 console.error('Error selecting all models:', error);
11641 }
11642 });
11643
11644 // Remove the override of getCombinedFilteredModels - use the one from search.js instead
11645 // window.getCombinedFilteredModels = async (limit = 0) => {
11646 // try {
11647 // // Get current filter values
11648 // ...
11649 // } catch (error) {
11650 // console.error("Error in getCombinedFilteredModels:", error);
11651 // return [];
11652 // }

Callers 8

updateModelElementFunction · 0.85
showModelDetailsFunction · 0.85
renderer.jsFile · 0.85
toggleModelSelectionFunction · 0.85
handleFileClickFunction · 0.85
exitMultiEditModeFunction · 0.85

Calls 3

clearMultiEditFormFieldsFunction · 0.85
populateRemoveTagSelectFunction · 0.85

Tested by

no test coverage detected