fix: correct string concatenation in getClasses method
This commit is contained in:
1 parent
26d8bf5184
commit
7127744454
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user