Stop removing film simulations on sync
This commit is contained in:
parent
daafd910ea
commit
6554bd49c4
@ -362,6 +362,8 @@ export const syncPhotoAction = async (photoId: string) =>
|
|||||||
const photoFormDbInsert = convertFormDataToPhotoDbInsert({
|
const photoFormDbInsert = convertFormDataToPhotoDbInsert({
|
||||||
...convertPhotoToFormData(photo),
|
...convertPhotoToFormData(photo),
|
||||||
...photoFormExif,
|
...photoFormExif,
|
||||||
|
// Don't overwrite manually configured film simulations
|
||||||
|
...photo.filmSimulation && { filmSimulation: photo.filmSimulation },
|
||||||
...!BLUR_ENABLED && { blurData: undefined },
|
...!BLUR_ENABLED && { blurData: undefined },
|
||||||
...!photo.title && { title: atTitle },
|
...!photo.title && { title: atTitle },
|
||||||
...!photo.caption && { caption: aiCaption },
|
...!photo.caption && { caption: aiCaption },
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user