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

Function getDefaultListViewColumnState

renderer.js:14638–14646  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14636 await autoSaveMultipleModels('tags', [tagName]); // Pass only the new tag
14637 } else {
14638 // For single-edit ADD, save the full list for that model
14639 const currentTags = Array.from(tagContainer.querySelectorAll('.tag'))
14640 .map(t => t.getAttribute('data-tag-name'));
14641 const filePath = getModelFilePath();
14642 if (filePath) {
14643 await autoSaveModel('tags', currentTags, filePath);
14644 } else {
14645 console.error('No file path found for saving tags');
14646 }
14647 }
14648}
14649

Callers 3

mergeListViewColumnStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected