Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class HomeUsagerComponent implements OnInit {
private readonly usagerAuthService: UsagerAuthService,
private readonly titleService: Title,
private readonly router: Router,
private readonly structureInformationService: StructureInformationService,
private readonly structureInformationService: StructureInformationService
) {
this.usagerProfile = null;
this.titleService.setTitle("Mon DomiFa");
Expand All @@ -37,8 +37,8 @@ export class HomeUsagerComponent implements OnInit {
}

this.usagerProfile = apiResponse;
},
),
}
)
);

if (this.usagerProfile) {
Expand All @@ -59,14 +59,14 @@ export class HomeUsagerComponent implements OnInit {

if (info.endDate && info.startDate) {
return isWithinInterval(today, {
start: info.startDate,
end: info.endDate,
start: new Date(info.startDate),
end: new Date(info.endDate),
});
}
return false;
});
},
}),
})
);
}
}
Loading