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

Function getCurrentModelFilePath

renderer.js:2223–2229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2221
2222 const modelRating = normalizeModelRatingValue(model.rating);
2223 if (shouldBeVisible && ratingStatus === 'unrated') {
2224 shouldBeVisible = modelRating === 0;
2225 } else if (shouldBeVisible && ratingStatus !== 'all' && /^[1-5]$/.test(ratingStatus)) {
2226 shouldBeVisible = modelRating === parseInt(ratingStatus, 10);
2227 }
2228
2229 if (shouldBeVisible && ratingMinStatus !== 'all' && /^[1-5]$/.test(ratingMinStatus)) {
2230 shouldBeVisible = modelRating >= parseInt(ratingMinStatus, 10);
2231 }
2232

Callers 9

showModelDetailsFunction · 0.85
handlerFunction · 0.85
renderer.jsFile · 0.85
refreshTagManagerListFunction · 0.85
applyTagsToModelFunction · 0.85
navigateDetailViewFunction · 0.85
handleItemClickFunction · 0.85
autoSaveModelFunction · 0.85
getModelFilePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected