Show status when doing an overwrite sync

This commit is contained in:
Sam Becker 2026-02-21 18:17:24 -06:00
parent 51be78e597
commit db6694740d

View File

@ -160,7 +160,7 @@ export default function AdminPhotoMenu({
color: 'yellow',
action: () => {
if(window.confirm(appText.admin.syncOverwriteConfirm)) {
syncPhotoAction(photo.id, { syncMode: 'only-missing' })
return syncPhotoAction(photo.id, { syncMode: 'only-missing' })
.then(() => revalidatePhoto?.(photo.id));
}
},