Skip to content
Snippets Groups Projects
Commit c211631c authored by Håkon Eilertsen Røskaft's avatar Håkon Eilertsen Røskaft
Browse files

Updated snapshot agian

parent c864dc87
No related branches found
No related tags found
1 merge request!103Fix userprofile image
Pipeline #180653 passed
<template>
<ul>
<li v-for="community in communities" :key="community">
<CommunityListItem :community="community" :member="member" class="border-black" />
<CommunityListItem
:community="community"
:member="member"
class="border-black"
/>
</li>
</ul>
</template>
......
......@@ -49,10 +49,16 @@
@click="toggleDialog()"
class="bg-white shadow dark:bg-gray-800 select-none cursor-pointer hover:bg-gray-50 flex items-center p-2"
>
<div v-if="!community.picture" class="h-10 w-10 flex flex-col justify-center items-center ml-2 mr-2">
<div
v-if="!community.picture"
class="h-10 w-10 flex flex-col justify-center items-center ml-2 mr-2"
>
<UserGroupIcon alt="Felleskapets bilde" class="h-10 w-10" />
</div>
<div v-else class="h-3 w-14 flex flex-col justify-center items-center ml-2 mt-4 mb-4 mr-2">
<div
v-else
class="h-3 w-14 flex flex-col justify-center items-center ml-2 mt-4 mb-4 mr-2"
>
<img :src="community.picture" alt="Fellsekaps bilde" class="rounded-md" />
</div>
<div class="flex-1 pl-1 overflow-hidden">
......
......@@ -10,7 +10,7 @@
noPicture,
}"
>
<ImageCarousel :images="pictures" ></ImageCarousel>
<ImageCarousel :images="pictures"></ImageCarousel>
</div>
</div>
<!-- Product info -->
......
......@@ -20,7 +20,6 @@ exports[`CommunityListItem component renders correctly 1`] = `
class="rounded-md"
src="string"
/>
<!-- TODO: USE COMMUNITY IMAGE &lt;img alt="Felleskapets bilde" src="@/assets/group.png" /&gt; -->
</div>
<div
class="flex-1 pl-1 overflow-hidden"
......
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