Show status when doing an overwrite sync
This commit is contained in:
parent
51be78e597
commit
db6694740d
@ -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));
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user