From 71277444541b147c3d711e1487a5d0882781c018 Mon Sep 17 00:00:00 2001
From: TO
Date: Sat, 21 Feb 2026 17:36:50 +0100
Subject: [PATCH] fix: correct string concatenation in getClasses method
---
src/app/services/calendar-service.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/services/calendar-service.ts b/src/app/services/calendar-service.ts
index 64873b6..6496cfa 100644
--- a/src/app/services/calendar-service.ts
+++ b/src/app/services/calendar-service.ts
@@ -273,7 +273,7 @@ export class SelectedDate implements SelectedDateInterface {
getClasses(date: Date): string {
let returnType: DayType | string = '';
if (this.type && date >= this.range.start! && date <= this.range.end!) {
- returnType = returnType += this.type + ' ';
+ returnType += this.type + ' ';
}
return returnType;
}