Skip to content

Commit

Permalink
<p> tags appearing in the planning block of event items in both previ…
Browse files Browse the repository at this point in the history
…ew and full view (#713)

use LongDescription component instead of description text
  • Loading branch information
dzonidoo authored and petrjasek committed Jan 2, 2024
1 parent f47bf4a commit db18f50
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions assets/agenda/components/AgendaPreviewCoverages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import PreviewBox from 'ui/components/PreviewBox';
import AgendaCoverages from './AgendaCoverages';
import AgendaInternalNote from './AgendaInternalNote';
import AgendaEdNote from './AgendaEdNote';
import AgendaLongDescription from './AgendaLongDescription';

class AgendaPreviewCoverages extends React.Component<any, any> {
static propTypes: any;
Expand Down Expand Up @@ -95,16 +96,16 @@ class AgendaPreviewCoverages extends React.Component<any, any> {
<span>{agendaNames}</span>
</div>
)}
<p>
{plan.description_text}
</p>

<AgendaLongDescription item={item} plan={plan}/>

{!plan.ednote ? null : (
<AgendaEdNote
item={plan}
noMargin={true}
/>
)}

{!plan.internal_note ? null : (
<AgendaInternalNote
internalNote={plan.internal_note}
Expand Down

0 comments on commit db18f50

Please sign in to comment.