From ec1985d31108a2a7dc7e6f1d604ed5a5967b55eb Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Tue, 7 May 2024 14:31:57 -0500 Subject: [PATCH] Tweak blur form handling --- src/photo/form/PhotoForm.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/photo/form/PhotoForm.tsx b/src/photo/form/PhotoForm.tsx index e180b6e2..257c90ac 100644 --- a/src/photo/form/PhotoForm.tsx +++ b/src/photo/form/PhotoForm.tsx @@ -215,7 +215,12 @@ export default function PhotoForm({ hideIfEmpty?: boolean, shouldHide?: (formData: Partial) => boolean, ) => { - if (key === 'blurData' && type === 'create' && !shouldDebugBlur) { + if ( + key === 'blurData' && + type === 'create' && + !BLUR_ENABLED && + !shouldDebugBlur + ) { return true; } else { return (