fix: Prevent 'duplicate' status from triggering success banner

This commit is contained in:
2026-01-22 09:45:59 -07:00
committed by Tanner Collin (aider)
parent d48d51bdc3
commit bc1cff21c5

View File

@@ -160,7 +160,7 @@ function render(){
if (!allCompleteBannerShown && items.length > 0) {
const isComplete = items.every(it => FINAL_STATES.has(it.status));
const hasSuccess = items.some(it => it.status === 'done' || it.status === 'duplicate');
const hasSuccess = items.some(it => it.status === 'done');
if (isComplete && hasSuccess) {
showBanner("All uploads complete.", "ok");
allCompleteBannerShown = true;