Skip to content

Commit 08492e3

Browse files
committed
Merge branch 'dev'
2 parents d57555e + 8eefdf3 commit 08492e3

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

resources/js/components/matchmaking/MatchMakingToolForm.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ export default {
476476
...result,
477477
name: `${item.first_name || ''} ${item.last_name || ''}`.trim(),
478478
location: item.location,
479-
description: item.description,
479+
// Keep cards concise for individuals: show only name + location.
480+
description: '',
480481
};
481482
}
482483

resources/js/components/matchmaking/ToolCard.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
</div>
6262

6363
<div
64+
v-if="tool.description"
6465
ref="descriptionContainerRef"
6566
class="flex-grow h-full"
6667
:class="{ 'overflow-hidden': needShowMore && !showMore }"
@@ -149,7 +150,12 @@ export default {
149150
},
150151
},
151152
mounted: function () {
152-
this.computeDescriptionHeight();
153+
if (this.tool.description) {
154+
this.computeDescriptionHeight();
155+
} else {
156+
this.needShowMore = false;
157+
this.showMore = false;
158+
}
153159
},
154160
};
155161
</script>

resources/js/components/matchmaking/ToolDetailCard.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{{ data.name }}
1616
</h2>
1717
<p
18+
v-if="isOrganisation"
1819
class="text-[#20262C] font-normal text-2xl p-0 mb-10"
1920
v-html="data.description"
2021
/>
@@ -110,6 +111,7 @@
110111
</p>
111112
<div class="border-l-[4px] border-[#F95C22] pl-4">
112113
<p
114+
v-if="isOrganisation"
113115
class="p-0 text-slate-500 text-xl font-normal"
114116
v-html="data.description"
115117
/>
@@ -409,7 +411,8 @@ export default {
409411
410412
return {
411413
name: `${person.first_name || ''} ${person.last_name}`.trim(),
412-
description: person.description,
414+
// Reviewer/client request: do not show the opt-in text section for individuals.
415+
description: '',
413416
location: person.location,
414417
email: person.email,
415418
get_email_from: person.get_email_from,

0 commit comments

Comments
 (0)