From 6554bd49c41cf7d0201a72cf140b374158bbd421 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 24 Feb 2025 08:34:49 -0600 Subject: [PATCH] Stop removing film simulations on sync --- src/photo/actions.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/photo/actions.ts b/src/photo/actions.ts index dc8099f3..6409b99f 100644 --- a/src/photo/actions.ts +++ b/src/photo/actions.ts @@ -362,6 +362,8 @@ export const syncPhotoAction = async (photoId: string) => const photoFormDbInsert = convertFormDataToPhotoDbInsert({ ...convertPhotoToFormData(photo), ...photoFormExif, + // Don't overwrite manually configured film simulations + ...photo.filmSimulation && { filmSimulation: photo.filmSimulation }, ...!BLUR_ENABLED && { blurData: undefined }, ...!photo.title && { title: atTitle }, ...!photo.caption && { caption: aiCaption },