diff --git a/src/admin/AdminPhotoMenu.tsx b/src/admin/AdminPhotoMenu.tsx index 3d57b160..865d8ff2 100644 --- a/src/admin/AdminPhotoMenu.tsx +++ b/src/admin/AdminPhotoMenu.tsx @@ -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)); } },