Skip to content
Snippets Groups Projects
Commit 1032d17a authored by Gregor Schulz's avatar Gregor Schulz
Browse files

remove cover from user view

parent d6be4596
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,6 @@ select_permissions: ...@@ -15,8 +15,6 @@ select_permissions:
- is_of_legal_age - is_of_legal_age
- avatar - avatar
- avatar_blurhash - avatar_blurhash
- cover
- cover_blurhash
- engagement_level - engagement_level
- geolocation_id - geolocation_id
- last_name - last_name
......
...@@ -17,11 +17,6 @@ export const User: React.FC<UserDetailsProps> = ({ user, additionalContent }) => ...@@ -17,11 +17,6 @@ export const User: React.FC<UserDetailsProps> = ({ user, additionalContent }) =>
return ( return (
<Card shadow="xs" padding="lg" radius="md" withBorder> <Card shadow="xs" padding="lg" radius="md" withBorder>
{user.profile?.cover && (
<Card.Section>
<ImageWithPreview src={user.profile.cover} height={120} />
</Card.Section>
)}
<Card.Section p="md"> <Card.Section p="md">
<Stack> <Stack>
<Group> <Group>
......
...@@ -12,7 +12,6 @@ export const UserDetails = gql` ...@@ -12,7 +12,6 @@ export const UserDetails = gql`
lastName lastName
pronouns pronouns
avatar avatar
cover
aboutMe aboutMe
location location
url url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment