diff --git a/src/app/campaigns/campaign-details/components/campaign-details-container/campaign-details-container.component.ts b/src/app/campaigns/campaign-details/components/campaign-details-container/campaign-details-container.component.ts index 71ae85b6d..48fc1b393 100755 --- a/src/app/campaigns/campaign-details/components/campaign-details-container/campaign-details-container.component.ts +++ b/src/app/campaigns/campaign-details/components/campaign-details-container/campaign-details-container.component.ts @@ -291,10 +291,9 @@ export class CampaignDetailsContainerComponent implements OnInit { } limitDescription(description: string | undefined): string { if (description) { - // Ensure the description is between 55 and 200 characters return description.length <= 200 ? description : description.substring(0, 200); } - return ''; // Handle cases where description is undefined + return ''; } ngOnDestroy(): void { this.isDestroyed.next('');