(filePath)
| 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. |
no test coverage detected