From 42c5d98797ad6666826125d86be5bad56f10a284 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Fri, 22 Apr 2022 10:04:01 +0200 Subject: [PATCH] Fix eslint trailing space --- .../wp-card-view/wp-single-card/wp-single-card.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.ts b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.ts index a69b1082dd..2a602ad154 100644 --- a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.ts +++ b/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))}`; }