Tweak blur form handling
This commit is contained in:
parent
90a437cfea
commit
ec1985d311
@ -215,7 +215,12 @@ export default function PhotoForm({
|
||||
hideIfEmpty?: boolean,
|
||||
shouldHide?: (formData: Partial<PhotoFormData>) => boolean,
|
||||
) => {
|
||||
if (key === 'blurData' && type === 'create' && !shouldDebugBlur) {
|
||||
if (
|
||||
key === 'blurData' &&
|
||||
type === 'create' &&
|
||||
!BLUR_ENABLED &&
|
||||
!shouldDebugBlur
|
||||
) {
|
||||
return true;
|
||||
} else {
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user