fix: set default value instead undefined
All checks were successful
Build and Deploy Angular App / build (push) Successful in 1m52s
All checks were successful
Build and Deploy Angular App / build (push) Successful in 1m52s
This commit is contained in:
parent
ebf1066610
commit
49179d2a8a
@ -46,6 +46,8 @@ export class ScheduleComponent {
|
|||||||
|
|
||||||
constructor(api: ScheduleService) {
|
constructor(api: ScheduleService) {
|
||||||
this.startTerm = new Date(1, 1, 1);
|
this.startTerm = new Date(1, 1, 1);
|
||||||
|
this.startWeek = new Date(1, 1, 1);
|
||||||
|
|
||||||
api.pairPeriod().subscribe(date => {
|
api.pairPeriod().subscribe(date => {
|
||||||
this.pairPeriods = date;
|
this.pairPeriods = date;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user