File tree Expand file tree Collapse file tree
resources/js/components/matchmaking Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 />
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 ,
You can’t perform that action at this time.
0 commit comments