File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
assets/vue/components/social
src/CoreBundle/Controller Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 13
13
/>
14
14
15
15
<div class =" flex flex-col" >
16
- <div v-if =" null === post.userReceiver || post.sender['@id'] === post.userReceiver['@id']" >
16
+ <div v-if =" ! post.userReceiver || post.sender['@id'] === post.userReceiver?. ['@id']" >
17
17
<BaseAppLink :to =" { name: 'SocialWall', query: { id: post.sender['@id'] } }" >
18
18
{{ post.sender.fullName }}
19
19
</BaseAppLink >
Original file line number Diff line number Diff line change @@ -552,12 +552,13 @@ private function getExtraFieldBlock(
552
552
ExtraField::USER_FIELD_TYPE
553
553
);
554
554
if (!empty ($ extraFieldOptions )) {
555
- $ optionTexts = array_map (
556
- fn (ExtraFieldOptions $ option ) => $ option ['display_text ' ],
557
- $ extraFieldOptions
555
+ $ fieldValue = implode (
556
+ ', ' ,
557
+ array_map (
558
+ fn (ExtraFieldOptions $ opt ) => $ opt ->getDisplayText (),
559
+ $ extraFieldOptions
560
+ )
558
561
);
559
- $ fieldValue = implode (', ' , $ optionTexts );
560
- $ fieldValue = $ extraFieldOptions ->getDisplayText ();
561
562
}
562
563
563
564
break ;
You can’t perform that action at this time.
0 commit comments