(doScroll = false)
| 8133 | if (typeof window.populateFilamentFilter === 'function') { |
| 8134 | await window.populateFilamentFilter(); |
| 8135 | } |
| 8136 | |
| 8137 | // Refresh tag list in edit view if a model is currently being edited |
| 8138 | const currentModelPath = getCurrentModelFilePath() || currentModelDetailsPath; |
| 8139 | if (currentModelPath) { |
| 8140 | await loadModelTags(currentModelPath); |
| 8141 | if (typeof window.loadModelFilaments === 'function') { |
| 8142 | await window.loadModelFilaments(currentModelPath); |
| 8143 | } |
| 8144 | } |
| 8145 | |
| 8146 | // Force a full grid refresh to show updated tags on all model cards |
| 8147 | if (typeof window.performCombinedSearch === 'function') { |
| 8148 | await window.performCombinedSearch(); |
| 8149 | } else { |
| 8150 | // Fallback: Get current sort option and refresh the grid |
no outgoing calls
no test coverage detected