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

Function handleContextRestored

renderer.js:11787–11790  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11785 if (modelInfoEl) {
11786 modelInfoEl.style.display = 'block';
11787 const model = uniqueModelsData[0].model;
11788 const modelNameEl = document.getElementById('tag-preview-model-name');
11789 const modelPathEl = document.getElementById('tag-preview-model-path');
11790
11791 if (modelNameEl && modelPathEl) {
11792 const fileName = model.fileName || model.filePath?.split(/[/\\]/).pop() || 'Unknown';
11793 const filePath = model.filePath || 'Unknown path';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected