Skip to content

Commit

Permalink
feat(schedule): add 9:00 to later today slots
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Jun 17, 2020
1 parent 6afbdb4 commit d8b0997
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/ui/owl-wrapper/owl-wrapper.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[sNextWeek]="T.DATETIME_SCHEDULE.NEXT_WEEK|translate"
[isNoMonthSquares]="true"
[min]="now"
[laterTodaySlots]="laterTodaySlots"
[ngModelOptions]="{standalone:true}"
(doubleEnter)="submit()"
(ngModelChange)="updateDateFromCal($event)"></owl-date-time-inline>
7 changes: 7 additions & 0 deletions src/app/ui/owl-wrapper/owl-wrapper.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ export class OwlWrapperComponent {

T = T;
date = new Date();
laterTodaySlots = [
'9:00',
'15:00',
'17:00',
'19:00',
'21:00'
];

constructor() {
}
Expand Down

0 comments on commit d8b0997

Please sign in to comment.