Skip to content

Commit df4b995

Browse files
committed
Avoid duplicate organisation description on profile detail.
Render the secondary bordered description block only for non-organisation profiles so organisation lead text appears once. Made-with: Cursor
1 parent 681e8dc commit df4b995

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/js/components/matchmaking/ToolDetailCard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@
109109
>
110110
{{ data.short_intro }}
111111
</p>
112-
<div class="border-l-[4px] border-[#F95C22] pl-4">
112+
<div v-if="!isOrganisation" class="border-l-[4px] border-[#F95C22] pl-4">
113113
<p
114-
v-if="isOrganisation"
114+
v-if="data.description"
115115
class="p-0 text-slate-500 text-xl font-normal"
116116
v-html="formatMultiline(data.description)"
117117
/>

0 commit comments

Comments
 (0)