Fix eslint trailing space

pull/10516/head
Henriette Darge 3 years ago
parent 33ebc2d269
commit 42c5d98797
  1. 2
      frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.ts

@ -192,7 +192,7 @@ export class WorkPackageSingleCardComponent extends UntilDestroyedMixin implemen
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
return String(this.dateTimeFormatYear.formatRange(new Date(startDate), new Date(dueDate)));
}
if (!startDate && dueDate) {
return `${this.dateTimeFormatYear.format(new Date(dueDate))}`;
}

Loading…
Cancel
Save