Skip to content

Commit 78a9382

Browse files
author
Ronald Richardson
committed
debug: remove setOption(date) from setCalendarApi to test library default date
1 parent 311bd69 commit 78a9382

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • addon/controllers/operations/scheduler

addon/controllers/operations/scheduler/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,6 @@ export default class OperationsSchedulerIndexController extends Controller {
345345
*/
346346
@action setCalendarApi(calendar) {
347347
this.calendar = calendar;
348-
// Navigate to today immediately after the calendar is ready.
349-
// This ensures the correct date is shown regardless of any stale
350-
// viewDate that may have been set before the calendar was mounted.
351-
this.calendar.setOption('date', new Date());
352348
}
353349

354350
// -------------------------------------------------------------------------

0 commit comments

Comments
 (0)