mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-22 09:37:54 +00:00
feat: update profile contact setting display
This commit is contained in:
@@ -180,13 +180,13 @@ export const SettingsPageUserProfile = () => {
|
||||
|
||||
<UserInfosSection formValues={values} />
|
||||
|
||||
<UserImagesSection isMemberProfile={isMember} values={values} />
|
||||
|
||||
{!isMember && (
|
||||
<PublicContactSection
|
||||
isContactableByPublic={values.isContactableByPublic}
|
||||
/>
|
||||
)}
|
||||
|
||||
<UserImagesSection isMemberProfile={isMember} values={values} />
|
||||
</Flex>
|
||||
</form>
|
||||
|
||||
|
||||
@@ -22,9 +22,6 @@ export const PublicContactSection = observer((props: Props) => {
|
||||
sx={{
|
||||
flexDirection: 'column',
|
||||
gap: 2,
|
||||
backgroundColor: 'background',
|
||||
padding: 4,
|
||||
borderRadius: 4,
|
||||
}}
|
||||
>
|
||||
<Heading as="h2">{title}</Heading>
|
||||
|
||||
Reference in New Issue
Block a user