fix(build)
This commit is contained in:
parent
83bab6b86b
commit
5163ed06c6
@ -785,7 +785,7 @@ postFirmUsersR fsh = do
|
|||||||
, formSubmit = FormSubmit
|
, formSubmit = FormSubmit
|
||||||
, formAnchor = Just addFormAnchor
|
, formAnchor = Just addFormAnchor
|
||||||
}
|
}
|
||||||
formResult fucrRes $ \FirmUserChangeRequest{..} -> when (isJust fucrPostalAddr || isJust fucrPostalAddr) $ do
|
formResult fucrRes $ \FirmUserChangeRequest{..} -> when (isJust fucrPostalPref || isJust fucrPostalAddr) $ do
|
||||||
let changes = foldMap (\pp -> [UserPrefersPostal E.=. E.val pp]) fucrPostalPref <>
|
let changes = foldMap (\pp -> [UserPrefersPostal E.=. E.val pp]) fucrPostalPref <>
|
||||||
foldMap (\pa -> [UserPostAddress E.=. E.justVal pa]) fucrPostalAddr -- seems weird, but: Nothing means no change, and not delete address!
|
foldMap (\pa -> [UserPostAddress E.=. E.justVal pa]) fucrPostalAddr -- seems weird, but: Nothing means no change, and not delete address!
|
||||||
nrChanged <- runDB $ E.updateCount $ \usr -> do
|
nrChanged <- runDB $ E.updateCount $ \usr -> do
|
||||||
|
|||||||
Reference in New Issue
Block a user