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

Function isInSelectedModels

renderer.js:13172–13180  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

13170
13171 // Get merge strategy from settings
13172 window.electron.getSetting('aiTagMergeStrategy').then((strategy) => {
13173 if (renderGeneration !== tagPreviewDialogRenderGeneration) {
13174 return;
13175 }
13176 if (!dialog.open || suppressTagPreviewReopen) {
13177 return;
13178 }
13179
13180 const mergeStrategy = strategy || 'merge';
13181
13182 // Clear again here: overlapping showTagPreviewDialog calls only cleared synchronously earlier;
13183 // without this, each resolved callback would append another full model list.

Callers 6

renderer.jsFile · 0.85
renderFileFunction · 0.85
handleFileClickFunction · 0.85
createModelItemFunction · 0.85

Calls 1

Tested by

no test coverage detected